Docker: fix time zones

This commit is contained in:
Marko Korhonen 2025-06-07 18:04:40 -05:00
parent 1e1f1299d1
commit fe65265dff
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
8 changed files with 8 additions and 20 deletions

View file

@ -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: