Browse Source

Merge pull request #491 from laradock/bug

fix #490 duplication of key "volumes"
Bo-Yi Wu 8 years ago
parent
commit
e9d3a838f1
1 changed files with 2 additions and 4 deletions
  1. 2 4
      docker-compose.yml

+ 2 - 4
docker-compose.yml

@@ -262,14 +262,12 @@ services:
 
     caddy:
         build: ./caddy
-        volumes_from:
-            - applications
-        volumes:
-            - caddy:/root/.caddy
         ports:
             - "80:80"
             - "443:443"
             - "2015:2015"
+        volumes_from:
+            - applications
         volumes:
             - ./caddy/Caddyfile:/etc/Caddyfile
             - ./logs/caddy:/var/log/caddy