This commit is contained in:
@@ -38,7 +38,7 @@ services:
|
|||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:8001:8001" # 仅本机访问,供 Nginx 反向代理使用
|
- "8001:8001"
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
build:
|
build:
|
||||||
@@ -48,7 +48,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- API_URL=/ai/api/chat # 通过 Nginx 反向代理访问后端(路径前缀 /ai)
|
- API_URL=/ai/api/chat # 通过 Nginx 反向代理访问后端(路径前缀 /ai)
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:8501:8501" # 仅本机访问,供 Nginx 反向代理使用
|
- "8501:8501"
|
||||||
networks:
|
networks:
|
||||||
- ai-network
|
- ai-network
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
Reference in New Issue
Block a user