Browse Source

Merge pull request #1817 from francislavoie/patch-1

caddy: Declare volumes in docker-compose example
yosifkit 5 years ago
parent
commit
f5eb031536
1 changed files with 4 additions and 0 deletions
  1. 4 0
      caddy/content.md

+ 4 - 0
caddy/content.md

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