mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 07:10:12 +01:00
Add debug output for the DB poll
This commit is contained in:
parent
e81919888e
commit
e70a569511
1 changed files with 1 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ if [ "$DATABASE_TYPE" == "mysql" ]; then
|
|||
[ -f /etc/app-env ] || exec "$appdir/script/docker-environment" $0 $@
|
||||
|
||||
for i in {1..60}; do
|
||||
echo "... Checking for connection"
|
||||
nc -z -w5 db 3306 && exit
|
||||
sleep 1
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue