Skip to content

Commit adacbb6

Browse files
committed
Set the timezone of the container as well, just to avoid possible bugs
1 parent 92c2a3f commit adacbb6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

config/prod.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ SIGNING_KEY=wger-docker-secret-jwtkey-1234567890!@#$%^&*(-_=+)
88
# The server's timezone, for a list of possible names:
99
# https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
1010
TIME_ZONE=Europe/Berlin
11+
TZ=Europe/Berlin
1112

1213
#
1314
# Consult the deployment section in the readme if you are running this behind a

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ services:
5252
- POSTGRES_USER=wger
5353
- POSTGRES_PASSWORD=wger
5454
- POSTGRES_DB=wger
55+
- TZ=Europe/Berlin
5556
volumes:
5657
- postgres-data:/var/lib/postgresql/data/
5758
expose:

0 commit comments

Comments
 (0)