Publish loopback port so the VPS's own agent bypasses the NPM LAN ACL
This commit is contained in:
@@ -10,6 +10,11 @@ services:
|
|||||||
hostname: agentchat
|
hostname: agentchat
|
||||||
domainname: agentchat.gbrown.org
|
domainname: agentchat.gbrown.org
|
||||||
networks: ['nginx-bridge']
|
networks: ['nginx-bridge']
|
||||||
|
ports:
|
||||||
|
# Loopback only: lets this host's own agent reach the hub at
|
||||||
|
# http://127.0.0.1:8080 without going through NPM - the LAN access
|
||||||
|
# list there blocks the VPS's public IP. Unreachable from elsewhere.
|
||||||
|
- '127.0.0.1:8080:8080'
|
||||||
environment:
|
environment:
|
||||||
- TZ=America/New_York
|
- TZ=America/New_York
|
||||||
- AGENTCHAT_DB=/data/agentchat.db
|
- AGENTCHAT_DB=/data/agentchat.db
|
||||||
|
|||||||
Reference in New Issue
Block a user