This commit is contained in:
@@ -46,7 +46,7 @@ services:
|
||||
dockerfile: docker/Dockerfile.frontend
|
||||
container_name: ai-frontend
|
||||
environment:
|
||||
- API_URL=/ai/api/chat # 通过 Nginx 反向代理访问后端(路径前缀 /ai)
|
||||
- API_URL=http://backend:8001/chat # Docker 内部使用服务名解析
|
||||
ports:
|
||||
- "8501:8501"
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user