From b23860865acea5202d03b7f09d4d649e28e7e78f Mon Sep 17 00:00:00 2001 From: HuabingZhao Date: Fri, 16 Mar 2018 10:14:32 +0800 Subject: Providing HTTPS endpoint at API gateway Issue-ID: MSB-140 Change-Id: Ic89750f87abc862ff1cf0335e0c1083a06adee2e Signed-off-by: HuabingZhao --- boot/msb_vm_init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boot') diff --git a/boot/msb_vm_init.sh b/boot/msb_vm_init.sh index 3f98acf1..6ebfaf46 100644 --- a/boot/msb_vm_init.sh +++ b/boot/msb_vm_init.sh @@ -22,7 +22,7 @@ CONSUL_IP=`sudo docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddre docker run -d -p 10081:10081 -e CONSUL_IP=$CONSUL_IP --name msb_discovery $NEXUS_DOCKER_REPO/onap/msb/msb_discovery:$DOCKER_IMAGE_VERSION DISCOVERY_IP=`sudo docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' msb_discovery` -docker run -d -p 80:80 -e CONSUL_IP=$CONSUL_IP -e SDCLIENT_IP=$DISCOVERY_IP -e "ROUTE_LABELS=visualRange:0|1" --name msb_apigateway $NEXUS_DOCKER_REPO/onap/msb/msb_apigateway:$DOCKER_IMAGE_VERSION +docker run -d -p 80:80 -p 443:443 -e CONSUL_IP=$CONSUL_IP -e SDCLIENT_IP=$DISCOVERY_IP -e "ROUTE_LABELS=visualRange:0|1" --name msb_apigateway $NEXUS_DOCKER_REPO/onap/msb/msb_apigateway:$DOCKER_IMAGE_VERSION # Allow the MSB container to come up before registering services sleep 20 -- cgit 1.2.3-korg