Skip to content

Commit

Permalink
PUSH
Browse files Browse the repository at this point in the history
-> FIX
  • Loading branch information
NaysKutzu committed Nov 24, 2024
1 parent 1a72e4e commit 1d5e83a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions install.bash
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ fi

# Migrations
# Wait for the database container to be ready
until docker exec mythicalclient_database pg_isready; do
echo "Waiting for mythicalclient_database to be ready..."
while [ "$(docker inspect -f '{{.State.Health.Status}}' mythicalclient_database)" == "starting" ]; do
echo "Waiting for mythicalclient_database to be up..."
sleep 2
done


docker exec mythicalclient_backend bash -c "php mythicalclient migrate"

0 comments on commit 1d5e83a

Please sign in to comment.