Add Support for Consul Connect
Co-authored-by: Florian Apolloner <apollo13@users.noreply.github.com>
This commit is contained in:
parent
3a180e2afc
commit
7e43e5615e
36 changed files with 2118 additions and 644 deletions
|
@ -2,7 +2,7 @@ consul:
|
|||
image: consul:1.6.2
|
||||
ports:
|
||||
- 8500:8500
|
||||
command: "agent -server -bootstrap -ui -client 0.0.0.0"
|
||||
command: "agent -server -bootstrap -ui -client 0.0.0.0 -hcl 'connect { enabled = true }'"
|
||||
consul-agent:
|
||||
image: consul:1.6.2
|
||||
ports:
|
||||
|
@ -22,3 +22,11 @@ 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue