Skip to content

Commit

Permalink
switching to autopilotpattern/consul
Browse files Browse the repository at this point in the history
  • Loading branch information
misterbisson committed Jul 22, 2016
1 parent 395270c commit e4e3839
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,22 +78,20 @@ nginx:

# Consul is the service catalog that helps discovery between the components
consul:
image: progrium/consul:latest
command: -server -bootstrap -ui-dir /ui
image: autopilotpattern/consul:latest
command: >
/usr/local/bin/containerpilot
/bin/consul agent -server
-bootstrap-expect 1
-config-dir=/etc/consul
-ui-dir /ui
restart: always
mem_limit: 128m
env_file: _env
ports:
- 8500
expose:
- 53
- 8300
- 8301
- 8302
- 8400
- 8500
dns:
- 127.0.0.1
ports:
- 8500
labels:
- triton.cns.services=consul
- com.docker.swarm.affinities=["container!=~*"]

0 comments on commit e4e3839

Please sign in to comment.