Skip to content

Commit

Permalink
Merge volume directives
Browse files Browse the repository at this point in the history
Previously line 185 was overwriting line 180.
The volume previously on line 180 is critical for running on
docker-machine, but was not needed on Docker CE.
See https://hub.docker.com/r/dockercloud/haproxy/ "Running with Docker
Compose v2 (Compose Mode)"
  • Loading branch information
jcoyne committed Jun 21, 2017
1 parent d0465de commit f6bddea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docker-compose.yml
Expand Up @@ -177,13 +177,12 @@ services:
- DOCKER_TLS_VERIFY
- DOCKER_HOST
- DOCKER_CERT_PATH
volumes:
- $DOCKER_CERT_PATH:$DOCKER_CERT_PATH
ports:
- 8080:80
- 8443:443
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- $DOCKER_CERT_PATH:$DOCKER_CERT_PATH
networks:
internal:
external:
Expand Down

0 comments on commit f6bddea

Please sign in to comment.