1
0
Fork 0

Consul Backend

This commit is contained in:
emile 2015-09-21 18:05:56 +02:00
parent 32c0ffe87a
commit d8e8815ad1
11 changed files with 354 additions and 43 deletions

21
tests/compose-consul.yml Normal file
View file

@ -0,0 +1,21 @@
consul:
image: progrium/consul
command: -server -bootstrap -advertise 12.0.0.254 -log-level debug -ui-dir /ui
ports:
- "8400:8400"
- "8500:8500"
- "8600:53/udp"
expose:
- "8300"
- "8301"
- "8301/udp"
- "8302"
- "8302/udp"
registrator:
image: gliderlabs/registrator:master
command: -internal consulkv://consul:8500/traefik
volumes:
- /var/run/docker.sock:/tmp/docker.sock
links:
- consul