Docker: fix time zones
This commit is contained in:
parent
1e1f1299d1
commit
fe65265dff
8 changed files with 8 additions and 20 deletions
|
@ -4,15 +4,13 @@ services:
|
|||
postgres:
|
||||
container_name: postgres
|
||||
image: postgres:16
|
||||
environment:
|
||||
- TZ=Europe/Helsinki
|
||||
ports:
|
||||
- 127.0.0.1:5432:5432
|
||||
networks:
|
||||
- postgres
|
||||
volumes:
|
||||
- data:/var/lib/postgresql/data
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- data:/var/lib/postgresql/data
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
postgres:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue