Environment Variable Explanation
System parameters can be controlled through environment variables. Copy env.tmpl
to .env
and modify the parameters in it.
Some parameter explanations are as follows:
Environment Variable | Description |
---|---|
API_BASE_URL | API service address (needs modification) |
WEB_PORT | Port of website |
INSTALLATION_MODE | Installation mode (standalone : standard mode; with-doris : Doris integrated mode; with-starrocks : Starrocks integrated mode) |
DB_NAME | Database name |
DB_USER | Database username |
DB_PASS | Database password |
DB_PORT | Database port |
DB_HOST | Database address |
REDIS_PASSWORD | Cache service password |
WEBAPP_PORT | WEB UI service port |
NODE_ENV | Operating environment: development or production |
SENTRY_DSN | Sentry DSN |
LOGGER_LEVEL | Log level |
DEFAULT_LATITUDE | Default latitude |
DEFAULT_LONGITUDE | Default longitude |
DEFAULT_CURRENCY | Default currency |
DEMO | Demo system |