Skip to content

Commit

Permalink
added TZ env var and /etc/localtime to all containers
Browse files Browse the repository at this point in the history
  • Loading branch information
Cielquan committed Nov 25, 2019
1 parent f3e3179 commit 2629da5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ services:
container_name: doh_server
hostname: ${HOST_NAME}
image: goofball222/dns-over-https:latest
environment:
- TZ=${TIMEZONE:-Europe/London}
volumes:
- /etc/localtime:/etc/localtime:ro
- ./doh-docker/configs/doh-server.conf:/opt/dns-over-https/conf/doh-server.conf
expose:
- "8053"
Expand Down Expand Up @@ -47,6 +50,7 @@ services:
- DOMAIN=${DOMAIN}
- HOST_IP=${HOST_IP}
volumes:
- /etc/localtime:/etc/localtime:ro
- ./pihole-docker/resolv.conf:/etc/resolv.conf
- ./pihole-docker/configs/pihole/:/etc/pihole/
- ./pihole-docker/configs/dnsmasq.d/dnsmasq.conf:/etc/dnsmasq.d/02-custom.conf
Expand Down Expand Up @@ -107,6 +111,7 @@ services:
environment:
- TZ=${TIMEZONE:-Europe/London}
volumes:
- /etc/localtime:/etc/localtime:ro
- ./unbound-docker/configs:/opt/unbound/etc/unbound/
- ./unbound-docker/var:/opt/unbound/etc/unbound/var/
- ./unbound-docker/unbound.log:/opt/unbound/etc/unbound/var/log/unbound/unbound.log
Expand Down

0 comments on commit 2629da5

Please sign in to comment.