mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
build: 尝试打包allinone
This commit is contained in:
parent
c181af49d0
commit
f1340ca47f
|
|
@ -26,7 +26,7 @@ RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo "Asia/Shangh
|
|||
|
||||
ENV POSTGRES_USER root
|
||||
|
||||
ENV POSTGRES_PASSWORD Password123@mysql
|
||||
ENV POSTGRES_PASSWORD Password123@postgres
|
||||
|
||||
# ---- prepare python env --- #
|
||||
# ---- copy from https://github.com/docker-library/python/blob/master/3.11/slim-bookworm/Dockerfile --- #
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ DB_NAME: maxkb
|
|||
DB_HOST: 127.0.0.1
|
||||
DB_PORT: 5432
|
||||
DB_USER: root
|
||||
DB_PASSWORD: Password123@mysql
|
||||
DB_PASSWORD: Password123@postgres
|
||||
DB_ENGINE: django.db.backends.postgresql_psycopg2
|
||||
EMBEDDING_MODEL_PATH: /opt/maxkb/model/embedding
|
||||
EMBEDDING_MODEL_NAME: /opt/maxkb/model/embedding/shibing624_text2vec-base-chinese
|
||||
|
|
|
|||
Loading…
Reference in New Issue