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-fixed-port.yml b/compose/docker-compose-fixed-port.yml
index cafe4ab..c810940 100644
--- a/compose/docker-compose-fixed-port.yml
+++ b/compose/docker-compose-fixed-port.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}consul:${CONSUL_TAG:-0.9.2}"
command: agent -server -bootstrap -client 0.0.0.0 -ui
ports:
@@ -51,10 +51,10 @@
"-ip=${DOCKER_HOST_IP}",
"-retry-attempts", "100",
# "-internal",
- "consul://consul:8500"
+ "consul://vconsul:8500"
]
links:
- - consul
+ - vconsul
volumes:
- "/var/run/docker.sock:/tmp/docker.sock"
@@ -102,7 +102,7 @@
"--host=${DOCKER_HOST_IP}"
]
depends_on:
- - consul
+ - vconsul
- kafka
- grafana
restart: unless-stopped
@@ -129,9 +129,9 @@
- 50555
- 18880
depends_on:
- - consul
+ - vconsul
links:
- - consul
+ - vconsul
- fluentd
environment:
SERVICE_8880_NAME: "voltha-health"
@@ -166,10 +166,10 @@
"-v"
]
depends_on:
- - consul
+ - vconsul
- voltha
links:
- - consul
+ - vconsul
- fluentd
volumes:
- "/var/run/docker.sock:/tmp/docker.sock"
@@ -193,10 +193,10 @@
ports:
- "830:1830"
depends_on:
- - consul
+ - vconsul
- voltha
links:
- - consul
+ - vconsul
- fluentd
environment:
SERVICE_1830_NAME: "netconf-server"
@@ -217,7 +217,7 @@
"--docker_host=${DOCKER_HOST_IP}"
]
depends_on:
- - consul
+ - vconsul
- kafka
- grafana
restart: unless-stopped