From 0a00f0842771fac23b5ae720d12c70c87a425a0d Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Fri, 9 Jun 2023 14:18:01 +0200 Subject: [PATCH] Move acme to volume --- roles/traefik/templates/docker-compose.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/traefik/templates/docker-compose.yml.j2 b/roles/traefik/templates/docker-compose.yml.j2 index 829f582..2f16525 100644 --- a/roles/traefik/templates/docker-compose.yml.j2 +++ b/roles/traefik/templates/docker-compose.yml.j2 @@ -16,7 +16,7 @@ services: volumes: - /var/run/docker.sock:/var/run/docker.sock:ro - ./config/traefik.yml:/traefik.yml:ro - - ./config/acme.json:/acme.json:rw + - {{ server.work_dir }}/traefik/base/acme.json:/acme.json:rw - {{ server.work_dir }}/traefik/base/access.log:/var/log/traefik/access.log:rw - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro