X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=docker%2Fmysql%2Fdeploy_with_existing_persistent_storage.sh;h=7a52f5cd433da47ed6adf6b0b2e5d7dbb9a8ca51;hb=91bbac212a6deb07ef6d1a5a8b8d55ddf4bab69b;hp=13aeaef5659272a62b73e4c142ba7582dd3f885c;hpb=291b699220dc09c94211a56575b92e71056f261c;p=validation.git diff --git a/docker/mysql/deploy_with_existing_persistent_storage.sh b/docker/mysql/deploy_with_existing_persistent_storage.sh index 13aeaef..7a52f5c 100755 --- a/docker/mysql/deploy_with_existing_persistent_storage.sh +++ b/docker/mysql/deploy_with_existing_persistent_storage.sh @@ -26,7 +26,6 @@ REGISTRY=akraino NAME=validation TAG_PRE=mysql TAG_VER=latest -MYSQL_HOST_PORT=3307 while [ $# -gt 0 ]; do if [[ $1 == *"--"* ]]; then @@ -37,5 +36,5 @@ while [ $# -gt 0 ]; do done IMAGE="$REGISTRY"/"$NAME":"$TAG_PRE"-"$TAG_VER" -docker run --detach --name $CONTAINER_NAME --publish $MYSQL_HOST_PORT:3306 -v $DOCKER_VOLUME_NAME:/var/lib/mysql -v "$(pwd)/mysql.conf:/etc/mysql/conf.d/my.cnf" $IMAGE +docker run --detach --name $CONTAINER_NAME -v $DOCKER_VOLUME_NAME:/var/lib/mysql -v "$(pwd)/mysql.conf:/etc/mysql/conf.d/my.cnf" $IMAGE sleep 10