fix #490 duplication of key "volumes"

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2016-12-16 17:21:45 +08:00
parent b62d9bcb60
commit 380eef5fd9

View File

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