Make use of internal docker networks unifi database name

This commit is contained in:
Flemming Petersen
2021-12-15 16:01:30 +01:00
parent 50f472c7e5
commit 6c7ebb345a
3 changed files with 22 additions and 10 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
set -x
/app/scripts/wait-for-it.sh ${DATABASE_HOST} -- echo "db is up"
/app/scripts/wait-for-it.sh ${DATABASE_HOST} -- echo "database is up"
npx prisma migrate deploy
yarn start