X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=deliveries%2Fwidget_ms_start.sh;h=5e51aebe2caf3344b89e82b3617346bb6afff9e8;hb=cc805e781c5c764860a1f801e637c6ed6e471f63;hp=aa9da147289766823bc3d03a60547c657993e8fe;hpb=a9627f8c54b7e9d5712320621e8a0b748ad9baf4;p=portal.git diff --git a/deliveries/widget_ms_start.sh b/deliveries/widget_ms_start.sh index aa9da147..5e51aebe 100755 --- a/deliveries/widget_ms_start.sh +++ b/deliveries/widget_ms_start.sh @@ -1,5 +1,10 @@ +#!/bin/sh + +# Establish environment variables +source $(dirname $0)/os_settings.sh + BASEDIR=/PROJECT/OpenSource/UbuntuEP WIDGETMSAPPPROPDIR=ECOMPWIDGETMS -echo "Starting ecomp-portal-widget-ms image in a new container !!!" -docker run -d --name "ecomp-portal-widget-ms" -p 8082:8082 -v ${BASEDIR}/etc/${WIDGETMSAPPPROPDIR}/application.properties:/application.properties widget-ms +echo "Running docker image ${WMS_IMG_NAME} as container ${WMS_CONT_NAME}" +docker run -d --name ${WMS_CONT_NAME} -p 8082:8082 -v ${BASEDIR}/etc/${WIDGETMSAPPPROPDIR}/application.properties:/application.properties ${WMS_IMG_NAME}