diff --git a/data/Dockerfiles/sogo/reconf-domains.sh b/data/Dockerfiles/sogo/reconf-domains.sh index 9ea2f6dd..d48eee97 100755 --- a/data/Dockerfiles/sogo/reconf-domains.sh +++ b/data/Dockerfiles/sogo/reconf-domains.sh @@ -1,5 +1,9 @@ #!/bin/bash +until mysqladmin ping --host mysql --silent; do + sleep 1 +done + # Wait for MySQL to warm-up while mysqladmin ping --host mysql --silent; do