Permalink
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (30 sloc) 630 Bytes
consul:
command: -server -bootstrap -rejoin
image: progrium/consul:latest
hostname: "registry"
ports:
- "8300:8300"
- "8400:8400"
- "8500:8500"
- "8600:53/udp"
api:
command: --registry_address=registry:8500 --register_interval=5 --register_ttl=10 api
build: .
links:
- consul
ports:
- "8080:8080"
sidecar:
command: --registry_address=registry:8500 --register_interval=5 --register_ttl=10 proxy
build: .
links:
- consul
ports:
- "8081:8081"
web:
command: --registry_address=registry:8500 --register_interval=5 --register_ttl=10 web
build: .
links:
- consul
ports:
- "8082:8082"