mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update INSTALL.sh
This commit is contained in:
parent
e77e9ccdf0
commit
2a2ae74c71
@ -643,12 +643,12 @@ run_mysql_docker_container() {
|
|||||||
MYSQL_ROOT_PASSWORD=$(openssl rand -base64 -hex 9)
|
MYSQL_ROOT_PASSWORD=$(openssl rand -base64 -hex 9)
|
||||||
|
|
||||||
if [ "$REPAIR" = true ]; then
|
if [ "$REPAIR" = true ]; then
|
||||||
|
echo "RAPAIR: Removing existing mysql database."
|
||||||
docker stop openpanel_mysql
|
docker stop openpanel_mysql
|
||||||
docker rm openpanel_mysql
|
docker rm openpanel_mysql
|
||||||
docker volume rm openpanel_mysql
|
docker volume rm openpanel_mysql_data
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# run the container
|
# run the container
|
||||||
docker run -d -p 3306:3306 --name openpanel_mysql \
|
docker run -d -p 3306:3306 --name openpanel_mysql \
|
||||||
-e MYSQL_ROOT_PASSWORD="$MYSQL_ROOT_PASSWORD" \
|
-e MYSQL_ROOT_PASSWORD="$MYSQL_ROOT_PASSWORD" \
|
||||||
|
Loading…
Reference in New Issue
Block a user