Skip to content

Your lightweight open-source personal agent.

security: bind api port to localhost by default

Xubin Rend108879b48d7
diff --git a/docker-compose.yml b/docker-compose.yml
index 662d2f0d6..21beb1c6f 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -36,7 +36,7 @@ services:
["serve", "--host", "0.0.0.0", "-w", "/home/nanobot/.nanobot/api-workspace"]
restart: unless-stopped
ports:
- - 8900:8900
+ - 127.0.0.1:8900:8900
deploy:
resources:
limits: