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

@ -5,9 +5,9 @@ services:
restart: unless-stopped
networks:
- proxy
environment:
- TZ=Europe/Helsinki
- IPV6_LOCALIZE=4
volumes:
- /etc/localtime:/etc/localtime:ro
networks:
proxy:
external: true

View file

@ -12,10 +12,9 @@ services:
environment:
- PUID=1000
- PGID=985
- TZ=Europe/Helsinki
volumes:
- config:/config
- /etc/localtime:/etc/localtime:ro
- config:/config
networks:
freshrss:
external: false

View file

@ -9,11 +9,9 @@ services:
container_name: home-assistant
image: homeassistant/home-assistant
restart: unless-stopped
environment:
- TZ=Europe/Helsinki
volumes:
- hass:/config
- /etc/localtime:/etc/localtime:ro
- hass:/config
networks:
- homeautomation
- postgres

View file

@ -9,8 +9,6 @@ services:
jellyfin:
image: jellyfin/jellyfin
container_name: jellyfin
environment:
- TZ=Europe/Helsinki
ports:
- 8096:8096
networks:
@ -18,11 +16,11 @@ services:
- authentik
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- config:/config
- cache:/cache
- media:/media
- nextcloud_data:/nextcloud_data
- /etc/localtime:/etc/localtime:ro
devices:
- /dev/dri/renderD128:/dev/dri/renderD128
- /dev/dri/card1:/dev/dri/card0

View file

@ -4,10 +4,8 @@ services:
mumble:
container_name: mumble
image: phlak/mumble
environment:
- TZ=Europe/Helsinki
network_mode: host
volumes:
- config:/etc/mumble
- /etc/localtime:/etc/localtime:ro
- config:/etc/mumble
restart: unless-stopped

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:

View file

@ -2,8 +2,6 @@ services:
tftp:
container_name: tftp
image: pghalliday/tftp
environment:
- TZ=Europe/Helsinki
restart: unless-stopped
ports:
- 69:69/udp

View file

@ -6,14 +6,13 @@ services:
image: linuxserver/tvheadend
container_name: tvheadend
environment:
- TZ=Europe/Helsinki
- PUID=1000
- PGID=985
volumes:
- /etc/localtime:/etc/localtime:ro
- config:/config
- picons:/picons
- /mnt/Storage/Media/PVR:/recordings
- /etc/localtime:/etc/localtime:ro
ports:
- 9981:9981
- 9982:9982