mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 07:10:53 +00:00
fix install script.
This commit is contained in:
parent
e26984d046
commit
3a6fd21250
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user