X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=validation.git;a=blobdiff_plain;f=docker%2Fmysql%2Fdeploy_with_existing_persistent_storage.sh;h=7a52f5cd433da47ed6adf6b0b2e5d7dbb9a8ca51;hp=13aeaef5659272a62b73e4c142ba7582dd3f885c;hb=148dfe2fad4ce4907e15a9d9c923e324a9d4d8d7;hpb=a17bf435bc8e9e4d2aad3a165a779359c6f28908 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