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

@@ -381,7 +381,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