The following environment variables are required for the application:
| Variable | Type | Description |
|---|---|---|
| PORT | number | Application port to expose (optional; default 3131) |
| REDIS_PORT | string | Redis port to expose (optional; default 6379) |
| REDIRECT_URL_OPEN | string | Your service url + path (bypass rate-limit) |
| REDIRECT_URL_SECURE | string | Your service url + path (enforced rate-limit) |
| WEEK_STARTS_ON_SUNDAY | boolean | Whether to count sunday as start of new week |
- Create a new
.envfile in the root directory - Copy the variables above and set their values according to your environment
- The
.envfile should not be committed to version control
See .env.docker.example file for reference