diff --git a/docker-compose.yaml b/docker-compose.yaml index 3eeb607..65514bb 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -5,7 +5,7 @@ services: ports: - "${APP_PORT:-8080}:8000" environment: - CONFIG_PATH: /app/config.json + CONFIG_PATH: ${CONFIG_FILE:-/app/config.json} volumes: - config:/app/config restart: unless-stopped diff --git a/stack.env b/stack.env new file mode 100644 index 0000000..d05144a --- /dev/null +++ b/stack.env @@ -0,0 +1 @@ +CONFIG_FILE=/app/config/config.json \ No newline at end of file