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 1/2] 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 From 244db53d5a20dcdb10002ed03c9b85bbf3ec446f Mon Sep 17 00:00:00 2001 From: Jack Spiering <46534141+jackspiering@users.noreply.github.com> Date: Fri, 2 Oct 2026 23:03:45 +0200 Subject: [PATCH 2/2] All services: pass TZ to a container only when its image uses it Every .env defines TZ, but 31 app containers never received it, and a few received it without using it. Each image was started with TZ=Asia/Tokyo to see whether a process inside reports Japan time. Add TZ=${TZ} to the app container of 28 services whose image uses it: Arcane, Booklore, Coder, ConvertX, copyparty, Dockge, Dockhand, Docmost, Dozzle, EspoCRM, FossFLOW, Glance, Gotify, Homepage, Memos, Miniflux, NewWallpaperWhoDis, NextExplorer, Portracker, Radicale, Speedtest Tracker, Stirling PDF, Sure, Technitium, Tracktor, Uptime Kuma, Vaultwarden, XWiki. Remove it from 5 services whose image has no time zone data and logs in UTC regardless: Beszel Hub, Homebox, Navidrome, Portainer, RustDesk Server. TZ stays in every .env file. --- services/arcane/compose.yaml | 1 + services/beszel-hub/compose.yaml | 1 - services/booklore/compose.yaml | 1 + services/coder/compose.yaml | 1 + services/convertx/compose.yaml | 1 + services/copyparty/compose.yaml | 1 + services/dockge/compose.yaml | 1 + services/dockhand/compose.yaml | 1 + services/docmost/compose.yaml | 1 + services/dozzle/compose.yaml | 2 ++ services/espocrm/compose.yml | 1 + services/fossflow/compose.yaml | 1 + services/glance/compose.yaml | 2 ++ services/gotify/compose.yaml | 1 + services/homebox/compose.yaml | 1 - services/homepage/compose.yaml | 1 + services/memos/compose.yaml | 1 + services/miniflux/compose.yaml | 1 + services/navidrome/compose.yaml | 1 - services/newwallpaperwhodis/compose.yaml | 1 + services/next-explorer/compose.yaml | 1 + services/portainer/compose.yaml | 1 - services/portracker/compose.yaml | 1 + services/radicale/compose.yaml | 1 + services/rustdesk-server/compose.yml | 2 -- services/speedtest-tracker/compose.yaml | 1 + services/stirlingpdf/compose.yaml | 1 + services/sure/compose.yaml | 2 ++ services/technitium/compose.yaml | 1 + services/tracktor/compose.yaml | 1 + services/uptime-kuma/compose.yaml | 2 ++ services/vaultwarden/compose.yaml | 1 + services/xwiki/compose.yml | 1 + 33 files changed, 32 insertions(+), 6 deletions(-) diff --git a/services/arcane/compose.yaml b/services/arcane/compose.yaml index 2afea379..e3c6032f 100644 --- a/services/arcane/compose.yaml +++ b/services/arcane/compose.yaml @@ -61,6 +61,7 @@ services: - LOG_LEVEL=info # Optional - LOG_JSON=false # Optional - OIDC_ENABLED=false # Optional + - TZ=${TZ} volumes: - /var/run/docker.sock:/var/run/docker.sock - ./${SERVICE}-data:/app/data diff --git a/services/beszel-hub/compose.yaml b/services/beszel-hub/compose.yaml index 1298e741..4d8ad1f8 100644 --- a/services/beszel-hub/compose.yaml +++ b/services/beszel-hub/compose.yaml @@ -55,7 +55,6 @@ services: environment: - PUID=1000 - PGID=1000 - - TZ=${TZ} volumes: - ./${SERVICE}-data/beszel_data:/beszel_data # Work directory for Beszel Hub - you may need to change the path depends_on: diff --git a/services/booklore/compose.yaml b/services/booklore/compose.yaml index a8291ee6..99645e60 100644 --- a/services/booklore/compose.yaml +++ b/services/booklore/compose.yaml @@ -59,6 +59,7 @@ services: - DATABASE_USERNAME=${MYSQL_USER} # Must match MYSQL_USER defined in the mariadb container - DATABASE_PASSWORD=${MYSQL_PASSWORD} # Use a strong password; must match MYSQL_PASSWORD defined in the mariadb container - SWAGGER_ENABLED=false # Swagger UI (API docs). + - TZ=${TZ} volumes: - ./data:/app/data - ./books:/books1 # Book library folder — point to one of your collections diff --git a/services/coder/compose.yaml b/services/coder/compose.yaml index 724a876e..2b8dacd5 100644 --- a/services/coder/compose.yaml +++ b/services/coder/compose.yaml @@ -56,6 +56,7 @@ services: CODER_PG_CONNECTION_URL: "postgresql://${POSTGRES_USER:-username}:${POSTGRES_PASSWORD:-password}@localhost/${POSTGRES_DB:-coder}?sslmode=disable" CODER_HTTP_ADDRESS: "0.0.0.0:7080" CODER_ACCESS_URL: "${CODER_ACCESS_URL}" + TZ: ${TZ} volumes: - /var/run/docker.sock:/var/run/docker.sock:ro - ./${SERVICE}-data/coder-home:/home/coder diff --git a/services/convertx/compose.yaml b/services/convertx/compose.yaml index aa3a95ad..0219e310 100644 --- a/services/convertx/compose.yaml +++ b/services/convertx/compose.yaml @@ -54,6 +54,7 @@ services: container_name: app-${SERVICE} # Name for local container management environment: - JWT_SECRET=aLongAndSecretStringUsedToSignTheJSONWebToken1234 # will use randomUUID() if unset + - TZ=${TZ} volumes: - ./${SERVICE}-data:/app/data depends_on: diff --git a/services/copyparty/compose.yaml b/services/copyparty/compose.yaml index 0561cb0a..001e4e25 100644 --- a/services/copyparty/compose.yaml +++ b/services/copyparty/compose.yaml @@ -80,6 +80,7 @@ services: # enabling mimalloc by replacing "NOPE" with "2" will make some stuff twice as fast, but everything will use twice as much ram: environment: LD_PRELOAD: /usr/lib/libmimalloc-secure.so.NOPE + TZ: ${TZ} stop_grace_period: 15s # thumbnailer is allowed to continue finishing up for 10s after the shutdown signal healthcheck: # hide it from logs with "/._" so it matches the default --lf-url filter diff --git a/services/dockge/compose.yaml b/services/dockge/compose.yaml index c120a893..f03556d3 100644 --- a/services/dockge/compose.yaml +++ b/services/dockge/compose.yaml @@ -57,6 +57,7 @@ services: - DOCKGE_STACKS_DIR=${STACKS_DIR} # Tell Dockge where your stacks directory is - PUID=${PUID} # Set the stack file/dir ownership to this user - PGID=${PGID} # Set the stack file/dir ownership to this group + - TZ=${TZ} volumes: - ./${SERVICE}-data/app/config:/app/data - /var/run/docker.sock:/var/run/docker.sock diff --git a/services/dockhand/compose.yaml b/services/dockhand/compose.yaml index 1164559b..c07094b8 100644 --- a/services/dockhand/compose.yaml +++ b/services/dockhand/compose.yaml @@ -54,6 +54,7 @@ services: container_name: app-${SERVICE} # Name for local container management environment: - HOST_DATA_DIR=/app/data + - TZ=${TZ} volumes: - /var/run/docker.sock:/var/run/docker.sock - ./dockhand-data:/app/data # Data directory for Dockhand - you may need to change the path diff --git a/services/docmost/compose.yaml b/services/docmost/compose.yaml index a6f9f52e..98d50b5b 100644 --- a/services/docmost/compose.yaml +++ b/services/docmost/compose.yaml @@ -57,6 +57,7 @@ services: APP_SECRET: ${APP_SECRET:?Set APP_SECRET in .env} DATABASE_URL: 'postgresql://docmost:${DB_PASSWORD:?Set DB_PASSWORD in .env}@localhost:5432/docmost?schema=public' REDIS_URL: 'redis://localhost:6379' + TZ: ${TZ} volumes: - ./${SERVICE}-data/docmost:/app/data/storage depends_on: diff --git a/services/dozzle/compose.yaml b/services/dozzle/compose.yaml index 7b289c88..bd8d3692 100644 --- a/services/dozzle/compose.yaml +++ b/services/dozzle/compose.yaml @@ -52,6 +52,8 @@ services: image: ${IMAGE_URL} # Image to be used network_mode: service:tailscale # Sidecar configuration to route ${SERVICE} through Tailscale container_name: app-${SERVICE} # Name for local container management + environment: + - TZ=${TZ} volumes: - ./${SERVICE}-data/dozzle-data:/data - /var/run/docker.sock:/var/run/docker.sock:ro diff --git a/services/espocrm/compose.yml b/services/espocrm/compose.yml index 1bdfe263..351bfa58 100644 --- a/services/espocrm/compose.yml +++ b/services/espocrm/compose.yml @@ -78,6 +78,7 @@ services: - ESPOCRM_ADMIN_PASSWORD=${ESPOCRM_ADMIN_PASSWORD} - ESPOCRM_SITE_URL=${ESPOCRM_SITE_URL} - ESPOCRM_DEFAULT_CURRENCY=${ESPOCRM_DEFAULT_CURRENCY} + - TZ=${TZ} volumes: # EspoCRM 10 and later only need these directories mounted, not all of /var/www/html. - ./${SERVICE}-data/data:/var/www/html/data - ./${SERVICE}-data/custom:/var/www/html/custom diff --git a/services/fossflow/compose.yaml b/services/fossflow/compose.yaml index c6ed45db..382a8de6 100644 --- a/services/fossflow/compose.yaml +++ b/services/fossflow/compose.yaml @@ -54,6 +54,7 @@ services: container_name: app-${SERVICE} # Name for local container management environment: - PUBLIC_URL=https://fossflow..ts.net + - TZ=${TZ} depends_on: tailscale: condition: service_healthy diff --git a/services/glance/compose.yaml b/services/glance/compose.yaml index ddd216b5..39b61013 100644 --- a/services/glance/compose.yaml +++ b/services/glance/compose.yaml @@ -52,6 +52,8 @@ services: image: ${IMAGE_URL} # Image to be used network_mode: service:tailscale # Sidecar configuration to route ${SERVICE} through Tailscale container_name: app-${SERVICE} # Name for local container management + environment: + - TZ=${TZ} volumes: - ./${SERVICE}-data/config:/app/config # Make sure to add the files glance.yml and home.yml to the config folder. See: (https://github.com/glanceapp/docker-compose-template/tree/main/root/config) - ./${SERVICE}-data/assets:/app/assets # Make sure to add the file user.css to the assets folder. See: (https://github.com/glanceapp/docker-compose-template/tree/main/root/assets) diff --git a/services/gotify/compose.yaml b/services/gotify/compose.yaml index 5475ff94..b1441be9 100644 --- a/services/gotify/compose.yaml +++ b/services/gotify/compose.yaml @@ -54,6 +54,7 @@ services: container_name: app-${SERVICE} # Name for local container management environment: - GOTIFY_DEFAULTUSER_PASS=admin + - TZ=${TZ} volumes: - ./${SERVICE}-data/app/data:/app/data depends_on: diff --git a/services/homebox/compose.yaml b/services/homebox/compose.yaml index 8fdbc516..42735749 100644 --- a/services/homebox/compose.yaml +++ b/services/homebox/compose.yaml @@ -56,7 +56,6 @@ services: environment: - PUID=1000 - PGID=1000 - - TZ=${TZ} - HBOX_AUTH_API_KEY_PEPPER=${HBOX_AUTH_API_KEY_PEPPER:?Set HBOX_AUTH_API_KEY_PEPPER in .env} volumes: - ./${SERVICE}-data:/data diff --git a/services/homepage/compose.yaml b/services/homepage/compose.yaml index 6602d4f8..cd819423 100644 --- a/services/homepage/compose.yaml +++ b/services/homepage/compose.yaml @@ -54,6 +54,7 @@ services: container_name: app-${SERVICE} # Name for local container management environment: - HOMEPAGE_ALLOWED_HOSTS=homepage.${TAILNET_NAME}.ts.net + - TZ=${TZ} volumes: - ./${SERVICE}-data/config:/app/config - /var/run/docker.sock:/var/run/docker.sock:ro # optional, for docker integrations diff --git a/services/memos/compose.yaml b/services/memos/compose.yaml index 88cd8b7a..a378f291 100644 --- a/services/memos/compose.yaml +++ b/services/memos/compose.yaml @@ -56,6 +56,7 @@ services: MEMOS_PORT: 5230 MEMOS_DRIVER: sqlite MEMOS_INSTANCE_URL: https://memos..ts.net # Update with your Tailscale domain + TZ: ${TZ} volumes: - ./${SERVICE}-data:/var/opt/memos depends_on: diff --git a/services/miniflux/compose.yaml b/services/miniflux/compose.yaml index c4c6a25e..5ebfbcbe 100644 --- a/services/miniflux/compose.yaml +++ b/services/miniflux/compose.yaml @@ -59,6 +59,7 @@ services: - ADMIN_USERNAME=${ADMIN_USERNAME} - ADMIN_PASSWORD=${ADMIN_PASSWORD} - BASE_URL=https://${SERVICE}.${TAILNET_NAME} # Change to your tailnet name + - TZ=${TZ} depends_on: tailscale: condition: service_healthy diff --git a/services/navidrome/compose.yaml b/services/navidrome/compose.yaml index 55870d6b..5aa54931 100644 --- a/services/navidrome/compose.yaml +++ b/services/navidrome/compose.yaml @@ -57,7 +57,6 @@ services: # ND_LOGLEVEL: debug - PUID=1000 - PGID=1000 - - TZ=${TZ} volumes: - ./${SERVICE}-data/data:/data - /path/to/your/music/folder:/music:ro # Adjust to your liking diff --git a/services/newwallpaperwhodis/compose.yaml b/services/newwallpaperwhodis/compose.yaml index 61a5ff09..9c6f90bd 100644 --- a/services/newwallpaperwhodis/compose.yaml +++ b/services/newwallpaperwhodis/compose.yaml @@ -54,6 +54,7 @@ services: container_name: app-${SERVICE} environment: - NODE_ENV=production + - TZ=${TZ} volumes: # Map the data folder where the SQLite DB or structured metadata will live - ./data:/app/data diff --git a/services/next-explorer/compose.yaml b/services/next-explorer/compose.yaml index a8d8e33d..afae7a85 100644 --- a/services/next-explorer/compose.yaml +++ b/services/next-explorer/compose.yaml @@ -67,6 +67,7 @@ services: # Optional host UID/GID mapping - PUID=${PUID} # Change according to your customization if needed - PGID=${PGID} # Change according to your customization if needed + - TZ=${TZ} volumes: - ./config:/config - ./cache:/cache diff --git a/services/portainer/compose.yaml b/services/portainer/compose.yaml index f247727e..26634c6a 100644 --- a/services/portainer/compose.yaml +++ b/services/portainer/compose.yaml @@ -55,7 +55,6 @@ services: environment: - PUID=1000 - PGID=1000 - - TZ=${TZ} volumes: - /var/run/docker.sock:/var/run/docker.sock - ./${SERVICE}-data/portainer_data:/data diff --git a/services/portracker/compose.yaml b/services/portracker/compose.yaml index 2b6da4b6..8dea19c9 100644 --- a/services/portracker/compose.yaml +++ b/services/portracker/compose.yaml @@ -60,6 +60,7 @@ services: - /var/run/docker.sock:/var/run/docker.sock:ro environment: - DATABASE_PATH=/data/portracker.db + - TZ=${TZ} depends_on: tailscale: condition: service_healthy diff --git a/services/radicale/compose.yaml b/services/radicale/compose.yaml index c339681e..2f962b06 100644 --- a/services/radicale/compose.yaml +++ b/services/radicale/compose.yaml @@ -54,6 +54,7 @@ services: container_name: app-${SERVICE} # Name for local container management environment: - TAKE_FILE_OWNERSHIP=true + - TZ=${TZ} volumes: - ./${SERVICE}-data/app/data:/data - ./${SERVICE}-data/config/radicale.conf:/config/radicale.conf diff --git a/services/rustdesk-server/compose.yml b/services/rustdesk-server/compose.yml index 07ed433a..37dc432e 100644 --- a/services/rustdesk-server/compose.yml +++ b/services/rustdesk-server/compose.yml @@ -58,7 +58,6 @@ services: environment: - PUID=1000 - PGID=1000 - - TZ=${TZ} - ALWAYS_USE_RELAY=${ALWAYS_USE_RELAY} depends_on: tailscale: @@ -77,7 +76,6 @@ services: environment: - PUID=1000 - PGID=1000 - - TZ=${TZ} network_mode: service:tailscale # Sidecar configuration to route ${SERVICE} through Tailscale # Healthcheck: none possible. The image contains only the hbbs and hbbr binaries, with no shell, HTTP client, or health command. restart: always diff --git a/services/speedtest-tracker/compose.yaml b/services/speedtest-tracker/compose.yaml index 6ae2080f..f9cc090a 100644 --- a/services/speedtest-tracker/compose.yaml +++ b/services/speedtest-tracker/compose.yaml @@ -55,6 +55,7 @@ services: environment: - PUID=1000 - PGID=1000 + - TZ=${TZ} - APP_KEY=${APP_KEY:?Set APP_KEY in .env} - DB_CONNECTION=sqlite #- APP_NAME= diff --git a/services/stirlingpdf/compose.yaml b/services/stirlingpdf/compose.yaml index 431c7160..0afdcea5 100644 --- a/services/stirlingpdf/compose.yaml +++ b/services/stirlingpdf/compose.yaml @@ -56,6 +56,7 @@ services: - DOCKER_ENABLE_SECURITY=false - INSTALL_BOOK_AND_ADVANCED_HTML_OPS=false - LANGS=en_GB + - TZ=${TZ} volumes: - ./${SERVICE}-data/trainingData:/usr/share/tessdata # Required for extra OCR languages - ./${SERVICE}-data/extraConfigs:/configs diff --git a/services/sure/compose.yaml b/services/sure/compose.yaml index 8ce12d3d..fcde539b 100755 --- a/services/sure/compose.yaml +++ b/services/sure/compose.yaml @@ -74,6 +74,7 @@ services: - OIDC_CLIENT_ID=${OIDC_CLIENT_ID} # Optional: OIDC client ID for authentication. Required if OIDC_ISSUER is set. - OIDC_CLIENT_SECRET=${OIDC_CLIENT_SECRET} # Optional: OIDC client secret for authentication. Required if OIDC_ISSUER is set. - OIDC_REDIRECT_URI=${OIDC_REDIRECT_URI} # Optional: OIDC redirect URI for authentication. Required if OIDC_ISSUER is set. + - TZ=${TZ} # BINDING: "::" # Uncomment for IPv6 dual-stack inside the container depends_on: tailscale: @@ -116,6 +117,7 @@ services: - DB_PORT=${DB_PORT:-5432} - REDIS_URL=${REDIS_URL:-redis://172.28.0.11:6379/1} - OPENAI_ACCESS_TOKEN=${OPENAI_ACCESS_TOKEN} # NOTE: enabling OpenAI will incur costs when you use AI-related features in the app (chat, rules). Make sure you have set appropriate spend limits on your account before adding this. + - TZ=${TZ} db: image: postgres:16 diff --git a/services/technitium/compose.yaml b/services/technitium/compose.yaml index 3b678aad..d57328f4 100644 --- a/services/technitium/compose.yaml +++ b/services/technitium/compose.yaml @@ -80,6 +80,7 @@ services: - DNS_SERVER_FORWARDERS=${DNS_SERVER1},${DNS_SERVER2} #Comma separated list of forwarder addresses. # - DNS_SERVER_FORWARDER_PROTOCOL=Tcp #Forwarder protocol options: Udp, Tcp, Tls, Https, HttpsJson. # - DNS_SERVER_LOG_USING_LOCAL_TIME=true #Enable this option to use local time instead of UTC for logging. + - TZ=${TZ} volumes: - ./${SERVICE}-data/app/config:/config depends_on: diff --git a/services/tracktor/compose.yaml b/services/tracktor/compose.yaml index 3e459424..733ad896 100644 --- a/services/tracktor/compose.yaml +++ b/services/tracktor/compose.yaml @@ -56,6 +56,7 @@ services: - TRACKTOR_DEMO_MODE=false - FORCE_DATA_SEED=false - CORS_ORIGINS=https://${SERVICE}.${TS_TAILNET}.ts.net # Adjust as needed for your setup + - TZ=${TZ} volumes: - ./${SERVICE}-data:/data depends_on: diff --git a/services/uptime-kuma/compose.yaml b/services/uptime-kuma/compose.yaml index e3dca078..5d382dee 100644 --- a/services/uptime-kuma/compose.yaml +++ b/services/uptime-kuma/compose.yaml @@ -52,6 +52,8 @@ services: image: ${IMAGE_URL} # Image to be used network_mode: service:tailscale # Sidecar configuration to route ${SERVICE} through Tailscale container_name: app-${SERVICE} # Name for local container management + environment: + - TZ=${TZ} volumes: - ./${SERVICE}-data/uptime-kuma-data:/app/data # uptime-kuma data/configuration folder - /var/run/docker.sock:/var/run/docker.sock:ro # Read-only access to the docker.sock diff --git a/services/vaultwarden/compose.yaml b/services/vaultwarden/compose.yaml index bfce9f35..1b978b24 100644 --- a/services/vaultwarden/compose.yaml +++ b/services/vaultwarden/compose.yaml @@ -55,6 +55,7 @@ services: environment: # DOMAIN: "https://vaultwarden.example.com" # required when using a reverse proxy; your domain; vaultwarden needs to know it's https to work properly with attachments SIGNUPS_ALLOWED: "true" # Deactivate this with "false" after you have created your account so that no strangers can register + TZ: ${TZ} volumes: - ./${SERVICE}-data/vw-data:/data depends_on: diff --git a/services/xwiki/compose.yml b/services/xwiki/compose.yml index e8a85861..ab719b2f 100644 --- a/services/xwiki/compose.yml +++ b/services/xwiki/compose.yml @@ -63,6 +63,7 @@ services: - DB_PASSWORD=${DB_PASSWORD} - DB_DATABASE=${DB_DATABASE} - DB_HOST=db-${SERVICE} + - TZ=${TZ} volumes: - ./${SERVICE}-data/xwiki:/usr/local/xwiki healthcheck: