fix: backend server docker instance only listen to localhost (#508)

This commit is contained in:
Willem Jiang
2025-08-11 19:28:21 +08:00
committed by GitHub
parent a4d6171c17
commit ea17e82514
8 changed files with 15 additions and 9 deletions

View File

@@ -406,7 +406,8 @@ docker build -t deer-flow-api .
```bash
# 将deer-flow-api-app替换为您首选的容器名称
docker run -d -t -p 8000:8000 --env-file .env --name deer-flow-api-app deer-flow-api
# 启动服务器并绑定到localhost:8000
docker run -d -t -p 127.0.0.1:8000:8000 --env-file .env --name deer-flow-api-app deer-flow-api
# 停止服务器
docker stop deer-flow-api-app