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
This commit is contained in:
Francis Lavoie 2020-10-14 08:20:02 -04:00 committed by GitHub
parent 1f0a12de24
commit 9b64e676cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -128,4 +128,8 @@ services:
- $PWD/site:/srv - $PWD/site:/srv
- caddy_data:/data - caddy_data:/data
- caddy_config:/config - caddy_config:/config
volumes:
caddy_data:
caddy_config:
``` ```