7e43e5615e
Co-authored-by: Florian Apolloner <apollo13@users.noreply.github.com>
32 lines
658 B
YAML
32 lines
658 B
YAML
consul:
|
|
image: consul:1.6.2
|
|
ports:
|
|
- 8500:8500
|
|
command: "agent -server -bootstrap -ui -client 0.0.0.0 -hcl 'connect { enabled = true }'"
|
|
consul-agent:
|
|
image: consul:1.6.2
|
|
ports:
|
|
- 8501:8500
|
|
command: "agent -retry-join consul -client 0.0.0.0"
|
|
links:
|
|
- consul
|
|
whoami1:
|
|
image: traefik/whoami
|
|
hostname: whoami1
|
|
whoami2:
|
|
image: traefik/whoami
|
|
hostname: whoami2
|
|
whoami3:
|
|
image: traefik/whoami
|
|
hostname: whoami3
|
|
whoamitcp:
|
|
image: traefik/whoamitcp
|
|
hostname: whoamitcp
|
|
connect:
|
|
image: hashicorpnomad/uuid-api:v5
|
|
links:
|
|
- consul
|
|
environment:
|
|
PORT: 443
|
|
BIND: 0.0.0.0
|
|
CONSUL_HTTP_ADDR: http://consul:8500
|