mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-04-08 04:03:38 +00:00
security: bind api port to localhost by default
Prevents accidental exposure to the public internet. Users who need external access can change to 0.0.0.0:8900:8900 explicitly. Made-with: Cursor
This commit is contained in:
parent
634261f07a
commit
d108879b48
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user