use docker service healthy condition instead of external docker-compose-wait dependency
This commit is contained in:
parent
059de37111
commit
2329fd9ac8
4 changed files with 4 additions and 12 deletions
|
|
@ -1,8 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
echo "Waiting for mysql"
|
||||
/wait || exit 111
|
||||
|
||||
echo "Running migrations"
|
||||
npx prisma migrate dev
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue