diff options
Diffstat (limited to 'heat')
-rw-r--r-- | heat/docker-compose-1.yaml | 5 | ||||
-rwxr-xr-x | heat/register.sh | 2 |
2 files changed, 5 insertions, 2 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" diff --git a/heat/register.sh b/heat/register.sh index e1a74fd..c48d8b7 100755 --- a/heat/register.sh +++ b/heat/register.sh @@ -55,7 +55,7 @@ SRVCNAME_STATIC_DFC="static-dcaegen2-collectors-datafile" # registering docker host SVC_NAME="dockerhost" -SVC_IP="$(cat /opt/config/dcae_ip_addr.txt)" +SVC_IP="$(cat /opt/config/dcae_float_ip.txt)" REGREQ=" { \"Name\" : \"${SVC_NAME}\", |