From 408e1a38643a671c09666803694d78859c9265bc Mon Sep 17 00:00:00 2001 From: Josh McDonald Date: Thu, 30 Jul 2026 21:13:58 +0100 Subject: [PATCH] Use configured timezone in compose services --- services/paperless/compose.yml | 6 +++--- services/picard/compose.yaml | 2 +- services/posterizarr/compose.yaml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/services/paperless/compose.yml b/services/paperless/compose.yml index 9b5b125b..f986c5b5 100644 --- a/services/paperless/compose.yml +++ b/services/paperless/compose.yml @@ -73,7 +73,7 @@ services: environment: - PUID=1000 - PGID=1000 - - TZ=Europe/Amsterdam + - TZ=${TZ} - PAPERLESS_TIME_ZONE=${PAPERLESS_TIME_ZONE} - PAPERLESS_OCR_LANGUAGE=${PAPERLESS_OCR_LANGUAGE} - PAPERLESS_SECRET_KEY=${PAPERLESS_SECRET_KEY} @@ -92,7 +92,7 @@ services: environment: - PUID=1000 - PGID=1000 - - TZ=Europe/Amsterdam + - TZ=${TZ} - POSTGRES_DB=paperless - POSTGRES_USER=${POSTGRES_USER} - POSTGRES_PASSWORD=${POSTGRES_PASSWORD} @@ -105,4 +105,4 @@ services: environment: - PUID=1000 - PGID=1000 - - TZ=Europe/Amsterdam + - TZ=${TZ} diff --git a/services/picard/compose.yaml b/services/picard/compose.yaml index 50dc0634..92c747cb 100644 --- a/services/picard/compose.yaml +++ b/services/picard/compose.yaml @@ -55,7 +55,7 @@ services: environment: - USER_ID=1000 - GROUP_ID=1000 - - TZ=Europe/Amsterdam # Change according to your timezone or set by mapping /etc/localtime between the host and the container. + - TZ=${TZ} volumes: - ./${SERVICE}-data/config:/config:rw - ./${SERVICE}-data/music:/storage:rw diff --git a/services/posterizarr/compose.yaml b/services/posterizarr/compose.yaml index 2259a047..c559bf84 100644 --- a/services/posterizarr/compose.yaml +++ b/services/posterizarr/compose.yaml @@ -53,7 +53,7 @@ services: network_mode: service:tailscale # Sidecar configuration to route ${SERVICE} through Tailscale container_name: app-${SERVICE} # Name for local container management environment: - - TZ=Europe/Amsterdam + - TZ=${TZ} - TERM=xterm - RUN_TIME=disabled user: "1000:1000"