Commit graph

9 commits

Author SHA1 Message Date
xtcnet
23f197aeb1 feat: auto-tune swap and Node.js memory based on VPS RAM
Some checks failed
Docker Cloud Build / Build & Publish Image (push) Failing after 36m19s
install.sh: detect RAM at runner install time and create swap only when
needed (<2GB → 2G swap, 2-4GB → 1G swap, >4GB → no swap).

workflow: detect RAM at build time and set NODE_OPTIONS accordingly
(<2GB → 768MB, 2-4GB → 1536MB, >4GB → 3072MB).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 23:30:17 +07:00
xtcnet
89c9ed842f fix: support 1GB RAM VPS for Docker image builds
Some checks failed
Docker Cloud Build / Build & Publish Image (push) Has been cancelled
- workflow: limit Node.js to 768MB (NODE_OPTIONS --max-old-space-size)
  and remove GitHub Actions cache (not supported on Forgejo Actions)
- install: auto-create 2GB swapfile when installing Forgejo Runner so
  the build process does not OOM on low-RAM machines

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 23:24:53 +07:00
xtcnet
b8d64b150c feat: switch Docker registry from ghcr.io to Forgejo (src.d3v.ac)
Some checks failed
Docker Cloud Build / Build & Publish Image (push) Has been cancelled
- Update workflow REGISTRY to src.d3v.ac and use FORGEJO_TOKEN for auth
- Update IMAGE_NAME in install.sh to src.d3v.ac/xtcnet/d3v-server:latest

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 23:07:41 +07:00
xtcnet
04a22dcc7d ci: skip Docker build when only non-image files change
Add paths filter so the build only triggers on changes to backend/,
frontend/, docker/, or the workflow file itself. Edits to install.sh,
CLAUDE.md, etc. no longer cause unnecessary image rebuilds.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 22:28:35 +07:00
xtcnet
54d1623551 feat: implement wireguard multi-server UI and backend logic 2026-03-08 09:33:24 +07:00
xtcnet
51443b6ee3 Fix workflow: correct steps.meta reference and update action versions 2026-03-07 21:30:47 +07:00
xtcnet
0563f2c67a Add GitHub Actions Docker build workflow 2026-03-07 21:29:23 +07:00
xtcnet
bafd532c44 Remove workflow needing oauth scope 2026-03-07 20:51:04 +07:00
xtcnet
0397a67ae8 Initial commit for D3V-NPMWG 2026-03-07 20:49:44 +07:00