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