Commit graph

23 commits

Author SHA1 Message Date
xtcnet
6ef729eb45 fix(install): use versioned Forgejo image tag instead of latest
Codeberg container registry does not publish a 'latest' tag for Forgejo.
Switch to the stable major version tag 'codeberg.org/forgejo/forgejo:9'.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 22:35:47 +07:00
xtcnet
2e9ed07708 fix(install): skip d3v-net in compose when Forgejo is not installed
generate_docker_compose now only adds the d3v-net network section if the
network actually exists on the host. Servers without Forgejo no longer
fail with "network declared as external, but could not be found".

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 22:31:13 +07:00
xtcnet
ce0d4f7611 feat(install): add Forgejo submenu with install/uninstall/update
- Add Forgejo as option 8 in main menu with submenu (install/uninstall/update)
- do_forgejo_install: creates /opt/forgejo with SQLite, ports 3000/2222,
  joins d3v-net network so NPM can proxy to it
- ensure_docker_network: creates d3v-net external network if missing
- On Forgejo install, regenerate D3V-NPMWG compose to include d3v-net
  and connect running container immediately (no restart required)
- Success output includes step-by-step NPM Proxy Host setup guide
- DOCKER_NETWORK constant (d3v-net) shared across both stacks

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 22:25:48 +07:00
xtcnet
08ce4b8390 fix: sửa lỗi và cải thiện tính năng Reset Admin Password
- Sửa lỗi db.js export getInstance() thay vì knex instance trực tiếp
- Tìm admin theo user đầu tiên trong DB thay vì hard-code id=1
- Chỉ hỏi mật khẩu mới, hiển thị email sau khi update thành công

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 19:51:09 +07:00
xtcnet
34020bc562 feat: custom Stream port manager UI and WireGuard config Zip download API 2026-03-08 15:50:25 +07:00
xtcnet
7bf175da41 fix: revert from host to bridge network mode to bypass external firewalls automatically 2026-03-08 15:13:32 +07:00
xtcnet
2cbaab23c5 fix: remove sysctls from host network container and apply them to host OS 2026-03-08 15:01:48 +07:00
xtcnet
9eeb3f7c7d feat: centralize compose generation and add self-update to install script 2026-03-08 14:58:47 +07:00
xtcnet
a0edaccfc4 feat: script auto-migrates old docker-compose ports to host network mode on update 2026-03-08 14:53:19 +07:00
xtcnet
af5cfbea84 feat: switch default docker compose template to network_mode host 2026-03-08 14:42:57 +07:00
xtcnet
f8ad3fe807 docs: update multi-server docker port mapping instructions to 51820-51830/udp 2026-03-08 11:18:05 +07:00
xtcnet
54d1623551 feat: implement wireguard multi-server UI and backend logic 2026-03-08 09:33:24 +07:00
xtcnet
5119f84558 Feat: add toggle for port 81 and fix WireGuard translation 2026-03-07 22:49:56 +07:00
xtcnet
5cb9760782 Fix: restart Docker daemon explicitly and remove obsolete compose version 2026-03-07 21:24:58 +07:00
xtcnet
1b400ee8bd Fix Docker startup race condition and remove legacy docker-compose 2026-03-07 21:21:47 +07:00
xtcnet
55f44e0a29 Rewrite install.sh from scratch - clean, robust, with detailed progress 2026-03-07 21:19:13 +07:00
xtcnet
faa4938256 Auto-detect IP, show detailed progress, and verify installation results 2026-03-07 21:14:08 +07:00
xtcnet
bf6df7d99c Enhance install.sh with system dependency checks and uninstallation 2026-03-07 21:11:09 +07:00
xtcnet
df60cfd270 Update install.sh to use Cloud Build image from GHCR 2026-03-07 21:08:39 +07:00
xtcnet
6b1177ddee Improve install.sh with usage info and robust argument handling 2026-03-07 21:03:59 +07:00
xtcnet
e90253ca72 Fix integer expected bash syntax limit in $# 2026-03-07 21:00:56 +07:00
xtcnet
6c2d4a6a13 Fix syntax error in script arguments parsing 2026-03-07 20:59:07 +07:00
xtcnet
0397a67ae8 Initial commit for D3V-NPMWG 2026-03-07 20:49:44 +07:00