Code Review
/
portal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Prepare to deploy widget-ms docker container in Rackspace
[portal.git]
/
deliveries
/
widget_ms_start.sh
diff --git
a/deliveries/widget_ms_start.sh
b/deliveries/widget_ms_start.sh
index
aa9da14
..
5e51aeb
100755
(executable)
--- 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
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}