VOL-629: Change name of consul service to 'vconsul'.
This avoids conflicts with other services named consul in some environments
Change-Id: If42119a57d01cf441df8e1ca92c1043923f59c03
diff --git a/compose/docker-compose-system-test-encrypted.yml b/compose/docker-compose-system-test-encrypted.yml
index ca36d7d..9c0f9d1 100644
--- a/compose/docker-compose-system-test-encrypted.yml
+++ b/compose/docker-compose-system-test-encrypted.yml
@@ -23,13 +23,13 @@
KAFKA_HEAP_OPTS: "-Xmx256M -Xms128M"
SERVICE_9092_NAME: "kafka"
depends_on:
- - consul
+ - vconsul
volumes:
- /var/run/docker.sock:/var/run/docker.sock
#
# Single-node consul agent
#
- consul:
+ vconsul:
image: "${REGISTRY}${REPOSITORY}voltha-consul${TAG}"
command: agent -server -bootstrap -client 0.0.0.0 -ui
ports:
@@ -51,10 +51,10 @@
"-ip=${DOCKER_HOST_IP}",
"-retry-attempts", "100",
# "-internal",
- "consul-tls://consul:8501"
+ "consul-tls://vconsul:8501"
]
links:
- - consul
+ - vconsul
volumes:
- "/var/run/docker.sock:/tmp/docker.sock"
environment:
@@ -107,7 +107,7 @@
"--host=${DOCKER_HOST_IP}"
]
depends_on:
- - consul
+ - vconsul
- kafka
- grafana
restart: unless-stopped
@@ -134,9 +134,9 @@
- 50555
- 18880
depends_on:
- - consul
+ - vconsul
links:
- - consul
+ - vconsul
- fluentd
environment:
SERVICE_8880_NAME: "voltha-health"
@@ -187,10 +187,10 @@
"-v"
]
depends_on:
- - consul
+ - vconsul
- voltha
links:
- - consul
+ - vconsul
- fluentd
volumes:
- "/var/run/docker.sock:/tmp/docker.sock"
@@ -214,10 +214,10 @@
ports:
- "830:1830"
depends_on:
- - consul
+ - vconsul
- voltha
links:
- - consul
+ - vconsul
- fluentd
environment:
SERVICE_1830_NAME: "netconf-server"
@@ -238,7 +238,7 @@
"--docker_host=${DOCKER_HOST_IP}"
]
depends_on:
- - consul
+ - vconsul
- kafka
- grafana
restart: unless-stopped
@@ -256,7 +256,7 @@
"/nginx_config/start_service.sh"
]
depends_on:
- - consul
+ - vconsul
- grafana
- portainer
restart: unless-stopped