mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-22 09:13:26 +00:00
ACME needs to wait for MySQL to be ready
This commit is contained in:
1 parent
ab850dc901
commit
ae79445ec0
2 files changed
+7
-1
No files matched your search
@@ -80,6 +80,11 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
while ! mysqladmin ping --host mysql -u${DBUSER} -p${DBPASS} --silent; do
|
||||
echo "Waiting for database to come up..."
|
||||
sleep 2
|
||||
done
|
||||
|
||||
while true; do
|
||||
if [[ "${SKIP_LETS_ENCRYPT}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
|
||||
echo "SKIP_LETS_ENCRYPT=y, skipping Let's Encrypt..."
|
||||
|
||||
Reference in new issue
Block a user