Removing xos-db ports on host
Change-Id: Ia08e9f99b331c92aa4704fdfc4781fe07abf8761
diff --git a/roles/cord-profile/templates/docker-compose.yml.j2 b/roles/cord-profile/templates/docker-compose.yml.j2
index 2a9437f..f1cd4ab 100644
--- a/roles/cord-profile/templates/docker-compose.yml.j2
+++ b/roles/cord-profile/templates/docker-compose.yml.j2
@@ -20,12 +20,18 @@
- {{ network }}
{% endfor %}
environment:
+ SERVICE_8300_IGNORE: "yes"
+ SERVICE_8301_IGNORE: "yes"
+ SERVICE_8302_IGNORE: "yes"
+ SERVICE_8400_IGNORE: "yes"
SERVICE_8500_NAME: "consul-rest"
+ SERVICE_8600_IGNORE: "yes"
restart: unless-stopped
registrator:
image: {{ deploy_docker_registry }}gliderlabs/registrator:{{ deploy_docker_tag }}
command: [
"-ip=${DOCKER_HOST_IP}",
+ "-internal",
"-retry-attempts", "100",
"consul://consul:8500"
]
@@ -46,8 +52,6 @@
{% for network in xos_docker_networks %}
- {{ network }}
{% endfor %}
- ports:
- - "5432:5432"
expose:
- "5432"
depends_on:
@@ -103,6 +107,7 @@
- registrator
environment:
SERVICE_4000_NAME: "xos-gui"
+ SERVICE_80_IGNORE: "yes"
restart: unless-stopped
xos_chameleon: