43 lines
1.2 KiB
Bash
43 lines
1.2 KiB
Bash
# Template for the --env-file passed to `docker run` (see
|
|
# deploy/docker/README.md). Copy this to deploy/docker/polylan-submitter.env,
|
|
# fill in real values, and keep it out of git (already in .gitignore) and
|
|
# world-readable perms (chmod 600) since it holds secrets.
|
|
#
|
|
# Docker reads this file itself (KEY=VALUE per line) before the container's
|
|
# Python even starts - no python-dotenv, no $VAR/${VAR} expansion, no shell
|
|
# involved. settings.py just reads the values from os.environ.
|
|
#
|
|
# Rotating a secret means editing this file and restarting the container
|
|
# (`docker restart polylan-submitter` or replacing it, depending on how
|
|
# you're running it) - values are read fresh on every process start.
|
|
#
|
|
# See settings.py for what each of these does and its dev-mode default.
|
|
|
|
DJANGO_SECRET_KEY=
|
|
DJANGO_DEBUG=false
|
|
DJANGO_ALLOWED_HOSTS=submitter.polylan.ch
|
|
|
|
POSTGRES_DB=
|
|
POSTGRES_USER=
|
|
POSTGRES_PASSWORD=
|
|
POSTGRES_HOST=
|
|
POSTGRES_PORT=
|
|
|
|
REDIS_HOST=
|
|
REDIS_PORT=
|
|
PLACE_REDIS_URL=
|
|
|
|
AWS_ACCESS_KEY_ID=
|
|
AWS_SECRET_ACCESS_KEY=
|
|
AWS_S3_ENDPOINT_URL=
|
|
AWS_STORAGE_BUCKET_NAME=
|
|
|
|
SENTRY_ENVIRONMENT=production
|
|
SENTRY_DSN=
|
|
|
|
STEAM_API_KEY=
|
|
STEAM_STORE_REFRESH_MINUTES=360
|
|
STEAM_STORE_COUNTRY=ch
|
|
AANDT_API_BASE_URL=
|
|
SUBMITTER_BASE_URL=
|