update
This commit is contained in:
parent
9ce9219a12
commit
1516a54f26
|
@ -8,9 +8,9 @@ _scp_to_base="root@$_remote_host.$_domain:$_docker_dir"
|
||||||
echo "HOST=$_remote_host" > .env
|
echo "HOST=$_remote_host" > .env
|
||||||
echo "DOMAIN=$_domain" >> .env
|
echo "DOMAIN=$_domain" >> .env
|
||||||
echo "MYSQL_ROOT_PASSWD=$_mysql_root_passwd" >> .env
|
echo "MYSQL_ROOT_PASSWD=$_mysql_root_passwd" >> .env
|
||||||
|
echo "MYSQL_DATABASE=wordpress" >> .env
|
||||||
echo "MYSQL_USER=wordpress" >> .env
|
echo "MYSQL_USER=wordpress" >> .env
|
||||||
echo "MYSQL_PASSWORD=wordpress" >> .env
|
echo "MYSQL_PASSWORD=wordpress" >> .env
|
||||||
echo "MYSQL_DATABASE=wordpress" >> .env
|
|
||||||
|
|
||||||
$_ssh_cmd "mkdir -p $_docker_dir/wordpress"
|
$_ssh_cmd "mkdir -p $_docker_dir/wordpress"
|
||||||
|
|
||||||
|
@ -40,9 +40,9 @@ $_ssh_cmd "cd $_docker_dir && docker-compose up -d --build"
|
||||||
# temporary solution
|
# temporary solution
|
||||||
echo "waiting for mysql to initialise ..."
|
echo "waiting for mysql to initialise ..."
|
||||||
sleep 10
|
sleep 10
|
||||||
echo "still waiting for mysql to initialise ..."
|
echo "still waiting for mysql ..."
|
||||||
sleep 10
|
sleep 10
|
||||||
echo "waiting a little bit longer for mysql to initialise ..."
|
echo "and still waiting for mysql ..."
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
||||||
echo "Configuring WordPress ..."
|
echo "Configuring WordPress ..."
|
||||||
|
|
Loading…
Reference in New Issue