- Environment variables can be set for local development using a
.envfile. An example file is included as a starting point.
| Name | Description | Default |
|---|---|---|
| API_BASE_URL | Base URL for the backend API server | http://localhost:8080 |
| ASSETS_BASE_URL | Host for assets CDN | /public |
| EXTERNAL_WEBSITE_HOST | The (accessible) hostname (and port) of the listening web server. | http://locahost:5000 |
| PORT | Port the web server listens on | 5000 |
| SESSION_SECRET | A complex string unique to the environment, used to encrypt cookies | |
| SESSION_TABLE_NAME | Table name for the user session data | |
| SESSION_TTL | How long the user session should last (in milliseconds) | 7200000 (2 hours) |
| Name | Description | Default |
|---|---|---|
| ANALYTICS_COOKIE_DOMAIN | Cookie domain to persist values throughout the different sections of the OneLogin journey | localhost |
| GA4_CONTAINER_ID | Container ID for GA4, required for analytics to work correctly | GTM-KD86CMZ |
| GA4_DISABLED | Feature flag to disable GA4 | false |
| UA_CONTAINER_ID | Container ID for Universal Analytics, required for UA to work correctly | GTM-TK92W68 |
| UA_DISABLED | Feature flag to disable UA | true |