From cd0016a70404b78d12a8afdaa52a2db3f9b86abf Mon Sep 17 00:00:00 2001 From: Jack Spiering <46534141+jackspiering@users.noreply.github.com> Date: Fri, 2 Oct 2026 22:18:32 +0200 Subject: [PATCH] All services: align the TZ setting with the service template The service template defines TZ=Europe/Amsterdam in .env with a link to the list of time zones, and passes it on as TZ=${TZ}. A few services did not follow it. - Dockge, NewWallpaperWhoDis, Radicale: add the TZ block to .env. - Open WebUI, Tandoor, RustDesk Server: use the template comment on the TZ line. - Gramps Web, Mealie: read TZ from .env instead of a fixed Europe/Amsterdam in compose.yaml. Paperless, Picard, and Posterizarr have the same fixed value. #329 already fixes those. --- services/dockge/.env | 3 +++ services/grampsweb/compose.yaml | 2 +- services/mealie/compose.yaml | 2 +- services/newwallpaperwhodis/.env | 3 +++ services/open-webui/.env | 2 +- services/radicale/.env | 3 +++ services/rustdesk-server/.env | 4 ++-- services/tandoor/.env | 2 +- 8 files changed, 15 insertions(+), 6 deletions(-) diff --git a/services/dockge/.env b/services/dockge/.env index 0b0ab129..69ae7bd2 100644 --- a/services/dockge/.env +++ b/services/dockge/.env @@ -20,3 +20,6 @@ STACKS_DIR=/opt/stacks # For example, create a folder in your docker compose folder with the name stacks (mkdir stacks) and use /path/to/docker-compose-container-folder/stacks. PUID=1000 # Set the stack file/dir ownership to this user PGID=1000 # Set the stack file/dir ownership to this group + +# Time Zone setting for containers +TZ=Europe/Amsterdam # See: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones diff --git a/services/grampsweb/compose.yaml b/services/grampsweb/compose.yaml index b18dda2b..f8e95331 100644 --- a/services/grampsweb/compose.yaml +++ b/services/grampsweb/compose.yaml @@ -55,7 +55,7 @@ services: environment: PUID: 1000 PGID: 1000 - TZ: Europe/Amsterdam + TZ: ${TZ} GRAMPSWEB_TREE: "Gramps Web" # will create a new tree if not exists GRAMPSWEB_CELERY_CONFIG__broker_url: "redis://grampsweb_redis:6379/0" GRAMPSWEB_CELERY_CONFIG__result_backend: "redis://grampsweb_redis:6379/0" diff --git a/services/mealie/compose.yaml b/services/mealie/compose.yaml index 6564c1f7..5e915077 100644 --- a/services/mealie/compose.yaml +++ b/services/mealie/compose.yaml @@ -61,7 +61,7 @@ services: ALLOW_SIGNUP: "false" PUID: 1000 PGID: 1000 - TZ: Europe/Amsterdam + TZ: ${TZ} BASE_URL: https://mealie.yourdomain.ts.net # Alter to your domain volumes: - ./${SERVICE}-data:/app/data/ diff --git a/services/newwallpaperwhodis/.env b/services/newwallpaperwhodis/.env index 9c990343..d2edda9c 100644 --- a/services/newwallpaperwhodis/.env +++ b/services/newwallpaperwhodis/.env @@ -16,3 +16,6 @@ TS_AUTHKEY= # Optional Service variables # PUID=1000 + +# Time Zone setting for containers +TZ=Europe/Amsterdam # See: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones diff --git a/services/open-webui/.env b/services/open-webui/.env index 3b7dbf3a..0129cef7 100644 --- a/services/open-webui/.env +++ b/services/open-webui/.env @@ -24,6 +24,6 @@ TS_AUTHKEY= OLLAMA_BASE_URL=http://host.docker.internal:11434 # Random secret key for session security. Generate with: openssl rand -hex 32 WEBUI_SECRET_KEY= -TZ=Europe/Amsterdam # Timezone for the container. +TZ=Europe/Amsterdam # See: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones #EXAMPLE_VAR="Environment variable" diff --git a/services/radicale/.env b/services/radicale/.env index ecc1cc24..fb41d304 100644 --- a/services/radicale/.env +++ b/services/radicale/.env @@ -16,3 +16,6 @@ TS_AUTHKEY= # Optional Service variables # PUID=1000 + +# Time Zone setting for containers +TZ=Europe/Amsterdam # See: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones diff --git a/services/rustdesk-server/.env b/services/rustdesk-server/.env index e0d6c194..401341bf 100644 --- a/services/rustdesk-server/.env +++ b/services/rustdesk-server/.env @@ -17,8 +17,8 @@ TS_AUTHKEY= # Optional Service variables # PUID=1000 -# Time zone -TZ=Europe/Amsterdam +# Time Zone setting for containers +TZ=Europe/Amsterdam # See: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones # Always use the relay. As this is run in tailnet and relays aren't needed, this setting in most cases should remain off. ALWAYS_USE_RELAY=N diff --git a/services/tandoor/.env b/services/tandoor/.env index f6f4e0b0..0abb304c 100644 --- a/services/tandoor/.env +++ b/services/tandoor/.env @@ -16,7 +16,7 @@ DNS_SERVER=9.9.9.9 TS_AUTHKEY= # Time Zone setting for containers -TZ=Europe/Amsterdam +TZ=Europe/Amsterdam # See: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones # Tandoor Configuration # Generate with: base64 /dev/urandom | head -c50