From 9b64e676cdefaddcfaece141c0aca3e25e589ebc Mon Sep 17 00:00:00 2001 From: Francis Lavoie Date: Wed, 14 Oct 2020 08:20:02 -0400 Subject: [PATCH] caddy: Declare volumes in docker-compose example As noted by a user on our community forums, the docker-compose example was missing the volume declarations, leading to errors if copied verbatim. https://caddy.community/t/trouble-running-caddy-in-docker-id-love-some-help/10067/2 --- caddy/content.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/caddy/content.md b/caddy/content.md index ac03602b6dc7..eb48170ebc0e 100644 --- a/caddy/content.md +++ b/caddy/content.md @@ -128,4 +128,8 @@ services: - $PWD/site:/srv - caddy_data:/data - caddy_config:/config + +volumes: + caddy_data: + caddy_config: ```