mirror of
https://github.com/vxcontrol/pentagi.git
synced 2026-07-21 08:15:23 -04:00
[PR #135] [CLOSED] docs: Add external network access configuration guide #184
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/vxcontrol/pentagi/pull/135
Author: @Vaibhavee89
Created: 2/23/2026
Status: ❌ Closed
Base:
master← Head:docs/external-access-configuration📝 Commits (3)
5b356dcFix goroutine and resource leak in terminal exec timeout handlingdbb4051Add comprehensive tests for goroutine leak fix2ad25c6docs: Add external network access configuration guide📊 Changes
5 files changed (+514 additions, -4 deletions)
View changed files
📝
README.md(+108 -0)📝
backend/go.mod(+1 -0)📝
backend/pkg/tools/terminal.go(+16 -4)➕
backend/pkg/tools/terminal_leak_test.go(+217 -0)➕
backend/pkg/tools/terminal_load_test.go(+172 -0)📄 Description
Summary
Addresses #91
This PR adds comprehensive documentation to help users configure PentAGI for external network access. Many users encounter issues accessing PentAGI from other machines on their network because the default configuration binds to localhost (127.0.0.1) only.
Changes Made
Added a new section "Accessing PentAGI from External Networks" to the README with:
Configuration Guidance
PENTAGI_LISTEN_IP,PUBLIC_URL, andCORS_ORIGINS0.0.0.0is for binding only, not for URLsTechnical Steps
Troubleshooting
Problem This Solves
Users frequently report being unable to access PentAGI from external machines even after setting environment variables. Common issues include:
127.0.0.1:8443which only accepts local connectionsPUBLIC_URL=https://0.0.0.0:8443which is not a valid accessible URLdocker compose down && docker compose up -d --force-recreateTesting
Impact
User Experience:
Documentation:
Before/After
Before: Users had to search through issues or ask for help to configure external access
After: Clear documentation in README guides users through proper external access configuration
Additional Notes
This documentation complements the existing setup instructions and doesn't change any default configurations. It helps users who need external access configure it properly while maintaining localhost-only binding as the secure default.
Related to Issue #91 where users reported timeout issues when accessing PentAGI from external browsers.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.