diff options
author | HuabingZhao <zhao.huabing@zte.com.cn> | 2018-03-16 10:14:32 +0800 |
---|---|---|
committer | HuabingZhao <zhao.huabing@zte.com.cn> | 2018-03-16 10:15:01 +0800 |
commit | b23860865acea5202d03b7f09d4d649e28e7e78f (patch) | |
tree | b88230bee5bb5ff4e459c3780ae0f3ba03fb0fc7 /boot/msb_vm_init.sh | |
parent | 56c6cbe5d9f468f754113203fc16863bf404ad53 (diff) |
Providing HTTPS endpoint at API gateway
Issue-ID: MSB-140
Change-Id: Ic89750f87abc862ff1cf0335e0c1083a06adee2e
Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'boot/msb_vm_init.sh')
-rw-r--r-- | boot/msb_vm_init.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |