diff --git a/install.sh b/install.sh index 8694f5b1fa..72b31972f5 100755 --- a/install.sh +++ b/install.sh @@ -9,6 +9,10 @@ git pull docker compose pull + +# Create database if it does not exists +sudo docker compose up -d postgres && sleep 30 && sudo docker compose exec postgres `psql postgresql://$DATABASE_USERNAME:$DATABASE_PASSWORD@localhost:5400/postgres -c 'CREATE DATABASE oneuptimedb'` || echo "Database created" + # echo "Checking if async migrations are up to date" # sudo -E docker compose run init