Skip to content

Commit

Permalink
await db availability startup
Browse files Browse the repository at this point in the history
  • Loading branch information
cmyui committed Jul 24, 2024
1 parent ca704df commit 0ab75ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ if [[ $PULL_SECRETS_FROM_VAULT -eq 1 ]]; then
echo "Sourced secrets from vault"
fi

/scripts/await-service.sh $DB_HOST $DB_PORT $SERVICE_READINESS_TIMEOUT

if [[ $APP_COMPONENT == "api" ]]; then
exec /scripts/run-api.sh
else
Expand Down

0 comments on commit 0ab75ad

Please sign in to comment.