summaryrefslogtreecommitdiffstats
path: root/deliveries/widget_ms_start.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deliveries/widget_ms_start.sh')
-rwxr-xr-xdeliveries/widget_ms_start.sh9
1 files changed, 7 insertions, 2 deletions
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}