mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-05-05 17:26:03 +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"]
|
["serve", "--host", "0.0.0.0", "-w", "/home/nanobot/.nanobot/api-workspace"]
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 8900:8900
|
- 127.0.0.1:8900:8900
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user