fix(container): propagate host timezone to all containers

Replace TZ env var with /etc/localtime bind-mount in docker-compose
and inject timezone spec opts into containerd bot containers.
This commit is contained in:
BBQ
2026-02-20 03:22:31 +08:00
parent 3c1ab85349
commit 4fc0ca5110
7 changed files with 71 additions and 8 deletions
+1 -1
View File
@@ -7,9 +7,9 @@ services:
POSTGRES_DB: memoh
POSTGRES_USER: memoh
POSTGRES_PASSWORD: memoh123
TZ: ${TZ:-UTC}
volumes:
- postgres_data:/var/lib/postgresql/data
- /etc/localtime:/etc/localtime:ro
ports:
- "5432:5432"
healthcheck: