diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..86bf608 --- /dev/null +++ b/.env.example @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3efc26f --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*.env +data/** diff --git a/compose.yaml b/compose.yaml index 0525b27..0ab4945 100644 --- a/compose.yaml +++ b/compose.yaml @@ -9,9 +9,9 @@ services: - ADMIN_TOKEN=${ADMIN_TOKEN?} - RIDE2GO_TOKEN=${RIDE2GO_TOKEN-} - GRAPHHOPPER_BASE_URL='https://api.mfdz.de/gh' - # - SECRET_KEY=${SECRET_KEY?} - # - METRICS_USER=${METRICS_USER?} - # - METRICS_PASSWORD=${METRICS_PASSWORD?} + - SECRET_KEY=${SECRET_KEY?} + - METRICS_USER=${METRICS_USER?} + - METRICS_PASSWORD=${METRICS_PASSWORD?} - MAX_WORKERS=${MAX_WORKERS} volumes: