Example .env

This commit is contained in:
Csaba 2024-06-19 14:01:25 +02:00
parent 212462c607
commit 42b186c716
3 changed files with 13 additions and 3 deletions

8
.env.example Normal file
View file

@ -0,0 +1,8 @@
PORT=8000
ADMIN_TOKEN="secret"
MAX_WORKERS=1
AMARILLO_GENERATOR_IMAGE="git.gerhardt.io/amarillo/amarillo-gtfs-generator"
AMARILLO_ENHANCER_IMAGE="git.gerhardt.io/amarillo/amarillo-enhancer"
SECRET_KEY=secret2
METRICS_USER=user1
METRICS_PASSWORD=pw1

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
*.env
data/**

View file

@ -9,9 +9,9 @@ services:
- ADMIN_TOKEN=${ADMIN_TOKEN?} - ADMIN_TOKEN=${ADMIN_TOKEN?}
- RIDE2GO_TOKEN=${RIDE2GO_TOKEN-} - RIDE2GO_TOKEN=${RIDE2GO_TOKEN-}
- GRAPHHOPPER_BASE_URL='https://api.mfdz.de/gh' - GRAPHHOPPER_BASE_URL='https://api.mfdz.de/gh'
# - SECRET_KEY=${SECRET_KEY?} - SECRET_KEY=${SECRET_KEY?}
# - METRICS_USER=${METRICS_USER?} - METRICS_USER=${METRICS_USER?}
# - METRICS_PASSWORD=${METRICS_PASSWORD?} - METRICS_PASSWORD=${METRICS_PASSWORD?}
- MAX_WORKERS=${MAX_WORKERS} - MAX_WORKERS=${MAX_WORKERS}
volumes: volumes: