traefik/integration/resources/compose/consul_catalog.yml

25 lines
502 B
YAML
Raw Normal View History

2019-10-15 15:34:08 +00:00
consul:
image: consul:1.6.2
2019-10-15 15:34:08 +00:00
ports:
- 8500:8500
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:
image: containous/whoami:v1.3.0
hostname: whoami1
whoami2:
image: containous/whoami:v1.3.0
hostname: whoami2
whoami3:
image: containous/whoami:v1.3.0
hostname: whoami3
whoamitcp:
image: containous/whoamitcp
hostname: whoamitcp