refactor(chat): split Turnfold into standalone repository
This commit is contained in:
+11
-4
@@ -85,15 +85,22 @@ services:
|
||||
|
||||
chat:
|
||||
build:
|
||||
context: .
|
||||
image: xiteng-chat:local
|
||||
context: ./app
|
||||
args:
|
||||
BASE_PATH: /chat
|
||||
HOME_URL: /
|
||||
image: turnfold:local
|
||||
container_name: xiteng-chat
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
AUTH_MODE: forward-auth
|
||||
AUTH_ISSUER: https://auth.xiteng.site
|
||||
BASE_PATH: /chat
|
||||
KEY_VAULT_URL: http://ai-gateway:8093
|
||||
KEY_VAULT_TOKEN_FILE: /run/secrets/portal_gateway_hmac
|
||||
CHAT_DATABASE_PATH: /data/chat.db
|
||||
PORTAL_URL: http://xiteng-site:8080
|
||||
ACCOUNT_URL: https://xiteng.site/account
|
||||
PUBLIC_PROVIDER_CATALOG_FILE: /app/providers.json
|
||||
volumes:
|
||||
- ../ai-gateway/secrets/portal_gateway_hmac:/run/secrets/portal_gateway_hmac:ro
|
||||
@@ -158,8 +165,8 @@ services:
|
||||
- "xiteng.site.cache.chat.edge-ttl=604800"
|
||||
- "xiteng.site.cache.chat.stale-while-revalidate=86400"
|
||||
- "xiteng.site.component.chat.enabled=true"
|
||||
- "xiteng.site.component.chat.name=Xiteng Chat"
|
||||
- "xiteng.site.component.chat.description=本地优先的 AI 对话界面;无需登录即可使用浏览器 Provider,登录后启用个人同步与 Key Vault。"
|
||||
- "xiteng.site.component.chat.name=Turnfold"
|
||||
- "xiteng.site.component.chat.description=本地优先、支持分支式历史的 AI 对话仓库;无需登录即可使用浏览器 Provider,登录后启用个人同步与 Key Vault。"
|
||||
- "xiteng.site.component.chat.section=services"
|
||||
- "xiteng.site.component.chat.category=AI"
|
||||
- "xiteng.site.component.chat.url=https://xiteng.site/chat/"
|
||||
|
||||
Reference in New Issue
Block a user