summaryrefslogtreecommitdiffstats
path: root/deliveries/new_start.sh
diff options
context:
space:
mode:
authorChristopher Lott (cl778h) <clott@research.att.com>2017-07-26 18:04:56 -0400
committerChristopher Lott (cl778h) <clott@research.att.com>2017-07-26 18:06:34 -0400
commitcc805e781c5c764860a1f801e637c6ed6e471f63 (patch)
treec2976903f21258a82b5557441d00a569731ecb4e /deliveries/new_start.sh
parenta9627f8c54b7e9d5712320621e8a0b748ad9baf4 (diff)
Prepare to deploy widget-ms docker container in Rackspace
Restore hardcoded image name ep:1610-1 due to demo/boot script file dependencies. Store image and container names in settings file; push and tag image for WMS at same time as portal and db. Issue: PORTAL-30 Change-Id: I349bfb91676dda0b4f106c6cab784dc6e6cec647 Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
Diffstat (limited to 'deliveries/new_start.sh')
-rwxr-xr-xdeliveries/new_start.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/deliveries/new_start.sh b/deliveries/new_start.sh
index 0710c83d..cffcda9b 100755
--- a/deliveries/new_start.sh
+++ b/deliveries/new_start.sh
@@ -11,8 +11,8 @@ PORTALPROPDIR=ECOMPPORTALAPP
SDKAPPPROPDIR=ECOMPSDKAPP
DBCAPPPROPDIR=ECOMPDBCAPP
#docker rm ep_1610
-echo "Running docker image ${IMGNAME} as name ${CONTNAME}"
-docker run -d --name ${CONTNAME} \
+echo "Running docker image ${EP_IMG_NAME} as name ${EP_CONT_NAME}"
+docker run -d --name ${EP_CONT_NAME} \
-p 8989:8080 -p 8010:8009 -p 8006:8005 \
-v ${BASEDIR}/etc/${PORTALPROPDIR}/system.properties:${PORTALDIR}/WEB-INF/conf/system.properties \
-v ${BASEDIR}/etc/${PORTALPROPDIR}/fusion.properties:${PORTALDIR}/WEB-INF/fusion/conf/fusion.properties \
@@ -26,4 +26,4 @@ docker run -d --name ${CONTNAME} \
-v ${BASEDIR}/etc/${DBCAPPPROPDIR}/dbcapp.properties:${DBCAPPDIR}/WEB-INF/dbcapp/dbcapp.properties \
-v ${BASEDIR}/etc/${DBCAPPPROPDIR}/fusion.properties:${DBCAPPDIR}/WEB-INF/fusion/conf/fusion.properties \
-v ${BASEDIR}/log:/opt/apache-tomcat-8.0.37/logs \
-${IMGNAME}
+${EP_IMG_NAME}