MaxKB/installer/run-maxkb.sh
shaohuzhang1 3d28d2527b
fix: typos
* fix: typos
2024-04-15 19:06:42 +08:00

10 lines
224 B
Bash

#!/bin/bash
# Start postgresql
docker-entrypoint.sh postgres &
sleep 10
# Wait postgresql
until pg_isready --host=127.0.0.1; do sleep 1 && echo "waiting for postgres"; done
# Start MaxKB
python /opt/maxkb/app/main.py start