Browse Source

feat: allow custom timezone, defaulting to UTC

Christoph Schug 2 years ago
parent
commit
ce2caf7c8f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      docker-compose/postgres/docker-compose.yaml

+ 1 - 0
docker-compose/postgres/docker-compose.yaml

@@ -11,6 +11,7 @@ services:
       - POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password
       - POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password
       # (Optional) when creating a new database
       # (Optional) when creating a new database
       # - POSTGRES_DB=${POSTGRES_DB}
       # - POSTGRES_DB=${POSTGRES_DB}
+      - TZ=${TZ:-UTC}
     ports:
     ports:
       - 5432:5432
       - 5432:5432
     # (Optional) when using custom network, see also
     # (Optional) when using custom network, see also