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
b889d1f29a
commit
c3bc50dd99
@ -596,9 +596,7 @@ docker_compose_up(){
|
|||||||
|
|
||||||
cp /etc/openpanel/docker/compose/.env /root/.env > /dev/null 2>&1
|
cp /etc/openpanel/docker/compose/.env /root/.env > /dev/null 2>&1
|
||||||
|
|
||||||
if [ "$CUSTOM_VERSION" = true ]; then
|
sed -i "s/^VERSION=.*$/VERSION=\"$PANEL_VERSION\"/" /root/.env
|
||||||
sed -i "s/^VERSION=.*$/VERSION=\"$PANEL_VERSION\"/" /root/.env
|
|
||||||
fi
|
|
||||||
|
|
||||||
# generate random password for mysql
|
# generate random password for mysql
|
||||||
MYSQL_ROOT_PASSWORD=$(openssl rand -base64 -hex 9)
|
MYSQL_ROOT_PASSWORD=$(openssl rand -base64 -hex 9)
|
||||||
|
Loading…
Reference in New Issue
Block a user