From f446cac43cedeeabc87d27f86a8ae3daa4f6512b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20G=C3=A9raud?= Date: Wed, 8 Jun 2016 13:07:31 +0200 Subject: [PATCH] mount acme folder instead of file I you use traefik in Docker and use Let's Encrypt, you have to mount the folder containing the acme.json file instead of the file itself. --- docs/toml.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/toml.md b/docs/toml.md index c658fd731..58c38d7d3 100644 --- a/docs/toml.md +++ b/docs/toml.md @@ -134,7 +134,13 @@ email = "test@traefik.io" # File used for certificates storage. -# WARNING, if you use Traefik in Docker, don't forget to mount this file as a volume. +# WARNING, if you use Traefik in Docker, you have 2 options: +# - create a file on your host and mount it has a volume +# storageFile = "acme.json" +# $ docker run -v "/my/host/acme.json:acme.json" traefik +# - mount the folder containing the file has a volume +# storageFile = "/etc/traefik/acme/acme.json" +# $ docker run -v "/my/host/acme:/etc/traefik/acme" traefik # # Required #