fix(docker-compose): uncomment timezone volume mappings for nginx and bitpoll services

This commit is contained in:
Philip Henning 2025-09-05 10:55:50 +02:00
parent 8ff5945c8b
commit 1c064021c0

View file

@ -8,8 +8,8 @@ services:
- bitpoll - bitpoll
read_only: true read_only: true
volumes: volumes:
# - /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
# - /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
- ./data/config/nginx-templates:/etc/nginx/templates:ro - ./data/config/nginx-templates:/etc/nginx/templates:ro
- static:/var/www - static:/var/www
tmpfs: tmpfs:
@ -46,9 +46,6 @@ services:
bitpoll: bitpoll:
image: ghcr.io/fsinfuhh/bitpoll:${BITPOLL_TAG:?BITPOLL_TAG is not configured} image: ghcr.io/fsinfuhh/bitpoll:${BITPOLL_TAG:?BITPOLL_TAG is not configured}
build:
dockerfile: Dockerfile
context: ./src
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
db: db:
@ -60,8 +57,8 @@ services:
networks: networks:
- appnet - appnet
volumes: volumes:
# - /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
# - /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
- static:/opt/static - static:/opt/static
- ./data/config/bitpoll:/opt/config - ./data/config/bitpoll:/opt/config
- log:/opt/log - log:/opt/log
@ -84,6 +81,8 @@ services:
networks: networks:
- appnet - appnet
volumes: volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- db:/var/lib/postgresql/data:rw - db:/var/lib/postgresql/data:rw
volumes: volumes: