diff --git a/compose.timescaledb.yml b/compose.timescaledb.yml index 3729a72..c4c78a1 100644 --- a/compose.timescaledb.yml +++ b/compose.timescaledb.yml @@ -30,14 +30,12 @@ services: PG_DB: ${PG_DB} TIMESCALEDB_ENABLED: ${TIMESCALEDB_ENABLED} LOG_LEVEL: ${LOG_LEVEL} + TZ: ${TZ} depends_on: timescaledb: condition: service_healthy networks: - internal - volumes: - - /etc/timezone:/etc/timezone:ro - - /etc/localtime:/etc/localtime:ro networks: internal: diff --git a/compose.yml b/compose.yml index c431ae1..6b4d5f3 100644 --- a/compose.yml +++ b/compose.yml @@ -10,6 +10,4 @@ services: PG_DB: ${PG_DB} TIMESCALEDB_ENABLED: ${TIMESCALEDB_ENABLED} LOG_LEVEL: ${LOG_LEVEL} - volumes: - - /etc/timezone:/etc/timezone:ro - - /etc/localtime:/etc/localtime:ro \ No newline at end of file + TZ: ${TZ} \ No newline at end of file