mirror of
https://github.com/10h30/kazewp.git
synced 2026-05-12 23:31:27 +09:00
Add more functionality: list and delete sites
This commit is contained in:
@@ -4,10 +4,8 @@ wpcli() {
|
||||
docker compose run --rm wpcli "$@"
|
||||
}
|
||||
|
||||
echo "Waiting for MySQL to be ready..."
|
||||
#while ! docker exec db_${DOMAIN} mysqladmin ping -h localhost --silent; do
|
||||
# sleep 1
|
||||
#done
|
||||
echo "Waiting for MariaDB to be ready..."
|
||||
|
||||
while [ "$(docker inspect --format='{{.State.Health.Status}}' db_${DOMAIN})" != "healthy" ]; do
|
||||
echo "MariaDB is not healthy yet. Retrying..."
|
||||
sleep 5
|
||||
|
||||
Reference in New Issue
Block a user