aboutsummaryrefslogtreecommitdiffstats
path: root/csit/scripts/dmaap-buscontroller/dmaapbc-launch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'csit/scripts/dmaap-buscontroller/dmaapbc-launch.sh')
-rwxr-xr-xcsit/scripts/dmaap-buscontroller/dmaapbc-launch.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/csit/scripts/dmaap-buscontroller/dmaapbc-launch.sh b/csit/scripts/dmaap-buscontroller/dmaapbc-launch.sh
index 6f46845..6bd1cf3 100755
--- a/csit/scripts/dmaap-buscontroller/dmaapbc-launch.sh
+++ b/csit/scripts/dmaap-buscontroller/dmaapbc-launch.sh
@@ -12,10 +12,12 @@ function dmaapbc_launch() {
export dmaap_mr_ip=$1
fi
- docker-compose -f ${WORKSPACE}/scripts/dmaap-buscontroller/docker-compose/docker-compose-bc.yml up -d
-
+ docker-compose -f ${WORKSPACE}/scripts/dmaap-buscontroller/docker-compose/docker-compose-bc.yml up -d dbc-pg-primary
+ sleep 5
+ DMAAP_BC_PG_IP=`get-instance-ip.sh dbc-pg`
+ export dbc_pg_ip=${DMAAP_BC_PG_IP}
+ docker-compose -f ${WORKSPACE}/scripts/dmaap-buscontroller/docker-compose/docker-compose-bc.yml up -d dmaap-bc
sleep 10
-
DMAAP_BC_IP=`get-instance-ip.sh dmaap-bc`
# Wait for initialization