feat: add TIMEZONE environment variable to docker-compose.yml for API service

This commit is contained in:
2026-08-04 19:28:30 +02:00
parent a2fa805ce8
commit 600d8262a8
+2 -1
View File
@@ -33,7 +33,7 @@ services:
command: ["uvicorn", "api.main:app", "--host", "0.0.0.0", "--port", "8000"] command: ["uvicorn", "api.main:app", "--host", "0.0.0.0", "--port", "8000"]
ports: ports:
- "8000:8000" - "${API_PORT:-8000}:8000"
environment: environment:
- DB_HOST=${DB_HOST:-mariadb.fritz.box} - DB_HOST=${DB_HOST:-mariadb.fritz.box}
@@ -42,6 +42,7 @@ services:
- DB_USER=${DB_USER} - DB_USER=${DB_USER}
- DB_PASSWORD=${DB_PASSWORD} - DB_PASSWORD=${DB_PASSWORD}
- LOG_LEVEL=${LOG_LEVEL:-INFO} - LOG_LEVEL=${LOG_LEVEL:-INFO}
- TIMEZONE=${TIMEZONE:-Europe/Berlin} # <--- Add this line
labels: labels:
- "com.centurylinklabs.watchtower.enable=true" - "com.centurylinklabs.watchtower.enable=true"