Skip to content

Commit

Permalink
Merge pull request #5445 from jrjohnson/better-info-from-messages
Browse files Browse the repository at this point in the history
Add waiting messages to consume container
  • Loading branch information
dartajax committed May 9, 2024
2 parents 9a69515 + 68a9ba3 commit 63209ee
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker/messages-entrypoint
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
#!/bin/sh
set -e

echo "Waiting for db to be ready..."
/srv/app/bin/console ilios:wait-for-database
echo "The db is now ready and reachable"

echo "Waiting for search index to be ready..."
/srv/app/bin/console ilios:wait-for-index
echo "The search index is now ready and reachable"

# use exec so the process is the container's PID 1 which will allow
# signals (Kill, Quit, Term) to be passed to the process.
Expand Down

0 comments on commit 63209ee

Please sign in to comment.