mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #3681] [CLOSED] Refactoring + geodat files auto update #5505
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#5505
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/3681
Author: @mixa2130
Created: 1/18/2026
Status: ❌ Closed
Base:
main← Head:main📝 Commits (10+)
0f563dcAdd .dockerignore4b9e34aFixed errors in x-ui.sh3a2988cDRY: unified sh script for geodata updatee1058b1Integrated unified sh scripts into docker build system + some cache updates1012636Quick docker refactoring522a2f7Merge branch 'feature/bash-scripts-update' into develop4b8275fDocker crom runner: cron works and restarts the main container, but shared volume still not in use67d4142Used shared volume + system optimizationc4c5aeedocker update11031daCode refactoring📊 Changes
33 files changed (+2557 additions, -2223 deletions)
View changed files
➕
.dockerignore(+22 -0)📝
.github/workflows/release.yml(+3 -2)📝
.gitignore(+3 -0)📝
DockerEntrypoint.sh(+6 -1)➖
DockerInit.sh(+0 -40)📝
Dockerfile(+42 -20)➕
Dockerfile-cron-runner(+22 -0)📝
README.md(+6 -6)📝
docker-compose.yml(+43 -3)➕
docker-cron-runner/cron-job-script.sh(+16 -0)➕
docker-cron-runner/entrypoint.sh(+22 -0)📝
docs/README.ar_EG.md(+2 -1)📝
docs/README.es_ES.md(+2 -2)📝
docs/README.fa_IR.md(+2 -2)📝
docs/README.ru_RU.md(+2 -2)📝
docs/README.zh_CN.md(+3 -2)➕
docs/media/3x-ui-dark.png(+0 -0)➕
docs/media/3x-ui-light.png(+0 -0)➕
docs/media/default-yellow.png(+0 -0)➕
docs/media/donation-button-black.svg(+1 -0)...and 13 more files
📄 Description
What is the pull request?
Why is this needed?
We live in challenging times, as many governments attempt to restrict internet freedom and monitor users’ online activity. For example, in Russia, Roskomnadzor blocks or throttles around 20 services every day. Xray is a solid protocol, but it is not completely immune to detection. One of the most effective ways to protect a VPN server is to minimize outgoing traffic—something 3xui already does very well.
However, as mentioned earlier, the list of blocked resources changes extremely quickly, and manually updating geodat files through the panel has become quite inconvenient. This pull request addresses that issue by introducing automated updates.
What this PR includes:
P.S. The main 3xui container can run independently of geodata-cron and docker-proxy. If a user doesn’t need them, they can simply remove these containers.
What I refactored?
docs/, making the root directory cleanerHow I tested?
Local Docker tests on macOS, as well as testing on Ubuntu and Debian VPS instances with 1 CPU core and 2 GB of RAM.
An amd64 test release for manual installation is available at https://github.com/mixa2130/3x-ui/releases/tag/v0.0.1
Which part of the application is affected by the change?
Type of Changes
Screenshots
What would I like to update in 3xui?
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.