From 62e8ff241cdb6f7ddee7412d0495ac87bcc00034 Mon Sep 17 00:00:00 2001 From: gluap <44007906+gluap@users.noreply.github.com> Date: Wed, 20 Oct 2021 23:14:55 +0200 Subject: [PATCH] fix issues with acme volume when directly voluming in the json and it does not exist, docker automatically creates a directory to mount which traefik chokes on trying to access it as a file. create a sensible mount dir but configure traefik to make a file in that directory (next commit) --- deployment/examples/docker-compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment/examples/docker-compose.yaml b/deployment/examples/docker-compose.yaml index 7ed6ad1..a635c8a 100644 --- a/deployment/examples/docker-compose.yaml +++ b/deployment/examples/docker-compose.yaml @@ -103,7 +103,7 @@ services: - /var/run/docker.sock:/var/run/docker.sock - ./config/traefik.toml:/traefik.toml - ./config/usersfile:/usersfile - - ./data/acme.json:/acme.json + - ./config/acme:/acme networks: - gateway