From 723e57e88abb089de557a0b95c78c063db2e6712 Mon Sep 17 00:00:00 2001 From: WilliamMiceli Date: Wed, 5 Dec 2018 22:39:06 -0500 Subject: [PATCH 1/2] Sync time and timezone with host --- templates/Traefik/0/docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/Traefik/0/docker-compose.yml b/templates/Traefik/0/docker-compose.yml index 1f74b51..05ce5bc 100644 --- a/templates/Traefik/0/docker-compose.yml +++ b/templates/Traefik/0/docker-compose.yml @@ -25,6 +25,8 @@ services: restart: always volumes: - /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}/acme:/etc/traefik/acme # For Let's Encrypt certificates - /RancherCattleConfig/${DATA_DIR}/logs:/external/logs From f33e5311d4b114834e5710a58f225c5c8e03a868 Mon Sep 17 00:00:00 2001 From: WilliamMiceli Date: Tue, 18 Dec 2018 23:42:46 -0500 Subject: [PATCH 2/2] Modified persistent directory --- templates/Traefik/0/docker-compose.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/Traefik/0/docker-compose.yml b/templates/Traefik/0/docker-compose.yml index 05ce5bc..6a757b7 100644 --- a/templates/Traefik/0/docker-compose.yml +++ b/templates/Traefik/0/docker-compose.yml @@ -27,9 +27,9 @@ services: - /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}/acme:/etc/traefik/acme # For Let's Encrypt certificates - - /RancherCattleConfig/${DATA_DIR}/logs:/external/logs + - /RancherCattle/${DATA_DIR}/Configuration/traefik.toml:/traefik.toml + - /RancherCattle/${DATA_DIR}/LetsEncrypt:/etc/traefik/acme # For Let's Encrypt certificates + - /RancherCattle/${DATA_DIR}/Logs:/external/logs networks: public-proxy: \ No newline at end of file