2016-02-02 17:03:40 +00:00
|
|
|
consul:
|
2019-01-25 09:24:04 +00:00
|
|
|
# use v1.4.0 because https://github.com/hashicorp/consul/issues/5270
|
|
|
|
# v1.4.1 cannot be used.
|
|
|
|
# waiting for v1.4.2
|
|
|
|
image: consul:1.4.0
|
2017-11-13 11:14:02 +00:00
|
|
|
command: agent -server -bootstrap-expect 1 -client 0.0.0.0 -log-level debug -ui
|
2016-02-02 17:03:40 +00:00
|
|
|
ports:
|
|
|
|
- "8400:8400"
|
|
|
|
- "8500:8500"
|
|
|
|
- "8600:53/udp"
|
|
|
|
expose:
|
|
|
|
- "8300"
|
|
|
|
- "8301"
|
|
|
|
- "8301/udp"
|
|
|
|
- "8302"
|
|
|
|
- "8302/udp"
|
2018-02-21 15:28:03 +00:00
|
|
|
whoami1:
|
2019-01-18 14:18:04 +00:00
|
|
|
image: containous/whoami
|
2018-02-21 15:28:03 +00:00
|
|
|
whoami2:
|
2019-01-18 14:18:04 +00:00
|
|
|
image: containous/whoami
|
2018-02-21 15:28:03 +00:00
|
|
|
whoami3:
|
2019-01-18 14:18:04 +00:00
|
|
|
image: containous/whoami
|