2019-10-15 15:34:08 +00:00
|
|
|
consul:
|
2019-11-27 15:24:06 +00:00
|
|
|
image: consul:1.6.2
|
2019-10-15 15:34:08 +00:00
|
|
|
ports:
|
|
|
|
- 8500:8500
|
2019-11-27 15:24:06 +00:00
|
|
|
command: "agent -server -bootstrap -ui -client 0.0.0.0"
|
|
|
|
consul-agent:
|
|
|
|
image: consul:1.6.2
|
|
|
|
ports:
|
|
|
|
- 8501:8500
|
|
|
|
command: "agent -retry-join consul -client 0.0.0.0"
|
|
|
|
links:
|
|
|
|
- consul
|
2019-10-15 15:34:08 +00:00
|
|
|
whoami1:
|
2020-09-16 13:46:04 +00:00
|
|
|
image: traefik/whoami
|
2019-10-15 15:34:08 +00:00
|
|
|
hostname: whoami1
|
|
|
|
whoami2:
|
2020-09-16 13:46:04 +00:00
|
|
|
image: traefik/whoami
|
2019-10-15 15:34:08 +00:00
|
|
|
hostname: whoami2
|
|
|
|
whoami3:
|
2020-09-16 13:46:04 +00:00
|
|
|
image: traefik/whoami
|
2019-10-15 15:34:08 +00:00
|
|
|
hostname: whoami3
|
|
|
|
whoamitcp:
|
2020-09-16 13:46:04 +00:00
|
|
|
image: traefik/whoamitcp
|
2019-10-15 15:34:08 +00:00
|
|
|
hostname: whoamitcp
|