UnisKB/installer/run-maxkb.sh

10 lines
222 B
Bash
Raw Normal View History

2024-03-15 05:03:01 +00:00
#!/bin/bash
# Start postgress
docker-entrypoint.sh postgres &
2024-03-15 09:54:59 +00:00
sleep 10
2024-03-15 05:03:01 +00:00
# Wait postgress
until pg_isready --host=127.0.0.1; do sleep 1 && echo "waiting for postgres"; done
# Start MaxKB
2024-03-15 09:26:25 +00:00
python /opt/maxkb/app/main.py start