diff options
Diffstat (limited to 'deliveries/dbstart.sh')
-rwxr-xr-x | deliveries/dbstart.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/deliveries/dbstart.sh b/deliveries/dbstart.sh index eaea9c18..518a5485 100755 --- a/deliveries/dbstart.sh +++ b/deliveries/dbstart.sh @@ -1,3 +1,9 @@ +#!/bin/bash + +# Establish environment variables +source $(dirname $0)/os_settings.sh + #docker create --name data_vol_portal -v /var/lib/mysql mariadb; -docker run -d --volumes-from data_vol_portal -p 3306:3306 -e MYSQL_ROOT_PASSWORD=Aa123456 --net=host --name ecompdb_portal ecompdb:portal; +echo "Running docker image ${DB_IMG_NAME} as name ${DB_CONT_NAME}" +docker run -d --volumes-from data_vol_portal -p 3306:3306 -e MYSQL_ROOT_PASSWORD=Aa123456 --net=host --name ${DB_CONT_NAME} ${DB_IMG_NAME}; |