xyter/docker-entrypoint.sh
Axel Olausson Holtenas 89404de116 fix: 💥 fix breaking changes
Fixed some bugs and added nix development flake

#588 #596 This release also has breaking changes that will need you to replace your docker-compose.yml and .env with the ones included in this release
2023-01-21 19:09:23 +01:00

10 lines
178 B
Bash

#!/usr/bin/env sh
echo "Check DB!"
while ! mysqladmin ping -h ${MYSQL_HOST} -u ${MYSQL_USER} -p${MYSQL_PASSWORD}; do
echo "Wait ..."
sleep 1
done
echo "DB ready!"
${@}