summaryrefslogtreecommitdiffstats
path: root/heat/docker-compose-1.yaml
diff options
context:
space:
mode:
authorLusheng Ji <lji@research.att.com>2018-10-12 16:39:28 -0400
committerLusheng Ji <lji@research.att.com>2018-10-12 16:39:34 -0400
commit5ead4d963faa0a1c38a00c8cadbee5fa55879653 (patch)
tree9f18cdd31d846e8a6d3283fd23d62fc694d8c6a9 /heat/docker-compose-1.yaml
parentd1f2f2e509a29bb822a4982d8c8320185823647f (diff)
config consul to proxy dns
Issue-ID: DCAEGEN2-865 Change-Id: I7b469d578963abb8a31ecc2fd9c7c0129102530e Signed-off-by: Lusheng Ji <lji@research.att.com>
Diffstat (limited to 'heat/docker-compose-1.yaml')
-rw-r--r--heat/docker-compose-1.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/heat/docker-compose-1.yaml b/heat/docker-compose-1.yaml
index 72c84df..3041d6c 100644
--- a/heat/docker-compose-1.yaml
+++ b/heat/docker-compose-1.yaml
@@ -36,13 +36,16 @@ services:
consul:
image: "consul:0.8.3"
container_name: "consul"
+ privileged: true
restart: "always"
hostname: "consul"
ports:
- "8500:8500"
+ - "53:8600/udp"
+ - "53:8600/tcp"
environment:
- "DOCKER_HOST=tcp://{{ dcae_ip_addr }}:2376"
- command: "agent -ui -server -bootstrap-expect 1 -client 0.0.0.0 -log-level trace"
+ command: "agent -ui -server -bootstrap-expect 1 -client 0.0.0.0 -log-level trace -recursor {{ dns_ip_addr }}"
labels:
- "SERVICE_8500_NAME=consul"
- "SERVICE_8500_CHECK_HTTP=/v1/agent/services"