mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[PR #5678] [MERGED] Env vars example file update #5956
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#5956
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/MHSanaei/3x-ui/pull/5678
Author: @nebulosa2007
Created: 6/30/2026
Status: ✅ Merged
Merged: 7/2/2026
Merged by: @MHSanaei
Base:
main← Head:env-vars📝 Commits (4)
b391866Update .env.exampleb9d92a3Update .env.example1cc7606Update .env.example20dfa52Update .env.example📊 Changes
1 file changed (+172 additions, -14 deletions)
View changed files
📝
.env.example(+172 -14)📄 Description
Summary
This PR updates and completely reorganizes the
.env.examplefile to align with the latest project documentation. It includes all missing environment variables (such as memory tuning and the tunnel health monitor), structures them into logical sections, and ensures all variables are commented out (masked) by default.Why
The previous
.env.examplewas outdated and missing several critical configuration knobs that have been recently introduced. Having a complete, well-commented template prevents user confusion and makes setting up 3x-ui via Docker or systemd environment files much easier.Type of change
Areas affected
How was this tested?
#and that the file format is valid for standard dotenv parsers.Screenshots / recordings
N/A (Documentation changes only)
Breaking changes
None.
Checklist
go build ./...and the test suite pass locally.npm run lint,npm run typecheck, andnpm run buildpass.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.