Sync time and timezone with host

This commit is contained in:
WilliamMiceli
2018-12-05 22:39:06 -05:00
parent 4127beb218
commit 723e57e88a

View File

@@ -25,6 +25,8 @@ services:
restart: always restart: always
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- /etc/localtime:/etc/localtime:ro # Syncronize time of container with the host system
- /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system
- /RancherCattleConfig/${DATA_DIR}/traefik.toml:/traefik.toml - /RancherCattleConfig/${DATA_DIR}/traefik.toml:/traefik.toml
- /RancherCattleConfig/${DATA_DIR}/acme:/etc/traefik/acme # For Let's Encrypt certificates - /RancherCattleConfig/${DATA_DIR}/acme:/etc/traefik/acme # For Let's Encrypt certificates
- /RancherCattleConfig/${DATA_DIR}/logs:/external/logs - /RancherCattleConfig/${DATA_DIR}/logs:/external/logs