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

@@ -402,7 +402,8 @@ Final, start up a docker container running the web server:
```bash
# Replace deer-flow-api-app with your preferred container name
docker run -d -t -p 8000:8000 --env-file .env --name deer-flow-api-app deer-flow-api
# Start the server then bind to localhost:8000
docker run -d -t -p 127.0.0.1:8000:8000 --env-file .env --name deer-flow-api-app deer-flow-api
# stop the server
docker stop deer-flow-api-app