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:
parent
1f0a12de24
commit
9b64e676cd
|
|
@ -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:
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue