use docker service healthy condition instead of external docker-compose-wait dependency

This commit is contained in:
liamcottle
2024-06-15 14:39:49 +12:00
parent 059de37111
commit 2329fd9ac8
4 changed files with 4 additions and 12 deletions

View File

@ -1,8 +1,5 @@
#!/bin/sh
echo "Waiting for mysql"
/wait || exit 111
echo "Running migrations"
npx prisma migrate dev