From 600d8262a880c5dd1dc8536c3724ec282b97ad5a Mon Sep 17 00:00:00 2001 From: Stefan Koelle Date: Sun, 2 Aug 2026 07:52:51 +0200 Subject: [PATCH] feat: add TIMEZONE environment variable to docker-compose.yml for API service --- docker-compose.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 0ebf1e6..4245c52 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -33,7 +33,7 @@ services: command: ["uvicorn", "api.main:app", "--host", "0.0.0.0", "--port", "8000"] ports: - - "8000:8000" + - "${API_PORT:-8000}:8000" environment: - DB_HOST=${DB_HOST:-mariadb.fritz.box} @@ -42,6 +42,7 @@ services: - DB_USER=${DB_USER} - DB_PASSWORD=${DB_PASSWORD} - LOG_LEVEL=${LOG_LEVEL:-INFO} + - TIMEZONE=${TIMEZONE:-Europe/Berlin} # <--- Add this line labels: - "com.centurylinklabs.watchtower.enable=true"