Skip to content

Commit

Permalink
Make entrypoint match Procfile
Browse files Browse the repository at this point in the history
  • Loading branch information
zachlatta authored Jan 7, 2025
1 parent 45336fe commit 866daff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
if [ "$WAKAPI_DB_TYPE" == "sqlite3" ] || [ "$WAKAPI_DB_TYPE" == "" ]; then
exec ./wakapi
else
echo "Waiting for database to come up"
exec ./wait-for-it.sh "$WAKAPI_DB_HOST:$WAKAPI_DB_PORT" -s -t 60 -- ./wakapi
# echo "Waiting for database to come up"
# exec ./wait-for-it.sh "$WAKAPI_DB_HOST:$WAKAPI_DB_PORT" -s -t 60 -- ./wakapi
./wakapi -config config.yml
fi

0 comments on commit 866daff

Please sign in to comment.