Change to TZ env var.

This commit is contained in:
Pieter Hollander 2024-07-25 22:58:39 +02:00
parent 26e4b9228c
commit 285dfd90f6
Signed by: pieter
SSH key fingerprint: SHA256:HbX+9cBXsop9SuvL+mELd29sK+7DehFfdVweFVDtMSg
2 changed files with 2 additions and 6 deletions

View file

@ -30,14 +30,12 @@ services:
PG_DB: ${PG_DB} PG_DB: ${PG_DB}
TIMESCALEDB_ENABLED: ${TIMESCALEDB_ENABLED} TIMESCALEDB_ENABLED: ${TIMESCALEDB_ENABLED}
LOG_LEVEL: ${LOG_LEVEL} LOG_LEVEL: ${LOG_LEVEL}
TZ: ${TZ}
depends_on: depends_on:
timescaledb: timescaledb:
condition: service_healthy condition: service_healthy
networks: networks:
- internal - internal
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
networks: networks:
internal: internal:

View file

@ -10,6 +10,4 @@ services:
PG_DB: ${PG_DB} PG_DB: ${PG_DB}
TIMESCALEDB_ENABLED: ${TIMESCALEDB_ENABLED} TIMESCALEDB_ENABLED: ${TIMESCALEDB_ENABLED}
LOG_LEVEL: ${LOG_LEVEL} LOG_LEVEL: ${LOG_LEVEL}
volumes: TZ: ${TZ}
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro