Skip to content

Commit

Permalink
build: 分开镜像
Browse files Browse the repository at this point in the history
  • Loading branch information
liqiang-fit2cloud committed Mar 15, 2024
1 parent c39ba66 commit d2e9d5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion installer/init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ CREATE DATABASE "maxkb";

\c "maxkb";

CREATE EXTENSION "vector" VERSION '0.6.1';
CREATE EXTENSION "vector";
8 changes: 1 addition & 7 deletions installer/run-maxkb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,4 @@ docker-entrypoint.sh postgres &
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 &

# Wait for any process to exit
wait -n

# Exit with status of process that exited first
exit $?
python /opt/maxkb/app/main.py start

0 comments on commit d2e9d5b

Please sign in to comment.