github.com/mailgun/holster/v4@v4.20.0/discovery/docker-compose.yaml (about) 1 version: '3' 2 services: 3 consul-agent: 4 image: consul:latest 5 command: "agent -retry-join consul-server-bootstrap -client 0.0.0.0" 6 7 consul-server-bootstrap: 8 image: consul:latest 9 ports: 10 - "8400:8400" 11 - "8500:8500" 12 - "8600:8600" 13 - "8600:8600/udp" 14 command: "agent -server -bootstrap-expect 1 -ui -client 0.0.0.0"