切换到kvstore
This commit is contained in:
@@ -13,18 +13,18 @@ services:
|
||||
- FAISS_DIM=1024
|
||||
- APP_PORT=8000
|
||||
|
||||
redis:
|
||||
image: redis:7-alpine
|
||||
container_name: ai-chat-redis
|
||||
command:
|
||||
- redis-server
|
||||
- --save
|
||||
- ""
|
||||
- --appendonly
|
||||
- "no"
|
||||
ports:
|
||||
- "8888:6379"
|
||||
restart: unless-stopped
|
||||
# redis:
|
||||
# image: redis:7-alpine
|
||||
# container_name: ai-chat-redis
|
||||
# command:
|
||||
# - redis-server
|
||||
# - --save
|
||||
# - ""
|
||||
# - --appendonly
|
||||
# - "no"
|
||||
# ports:
|
||||
# - "8888:6379"
|
||||
# restart: unless-stopped
|
||||
|
||||
tokenizer:
|
||||
build:
|
||||
|
||||
@@ -17,8 +17,8 @@ chat:
|
||||
bot_desc: "你是一个AI助手,我需要你模拟一名资深的软件工程师来回答我的问题"
|
||||
min_response_tokens: 600
|
||||
redis:
|
||||
host: "redis"
|
||||
port: 6379
|
||||
host: "127.0.0.1"
|
||||
port: 8888
|
||||
pwd: ""
|
||||
dependOn:
|
||||
sensitive:
|
||||
|
||||
Reference in New Issue
Block a user