5 Commits

Author SHA1 Message Date
MickLesk
3f85bc0620 fixes
Some checks failed
Update GitHub Versions (New) / update-github-versions (push) Has been cancelled
Update Versions from GitHub / update-versions (push) Has been cancelled
2026-02-22 18:56:02 +01:00
MickLesk
fe48d08c69 perf: optimize Twenty CRM resource usage
- Reduce defaults: 4 CPU/8GB → 2 CPU/4GB (official min is 2GB)
- Node.js heap: 512MB server, 384MB worker (runtime)
- Build-time heap: 3072MB (only during compilation)
- PG pool: reduce to 5 connections
- PostgreSQL: tune shared_buffers/work_mem/effective_cache_size
- Redis: cap at 64MB with noeviction policy
- Unset NODE_OPTIONS after build to not leak into runtime
2026-02-22 14:48:11 +01:00
MickLesk
5ab302102b refactor: clean COMMUNITY_SCRIPTS_URL pattern (#1449)
- ct/vm scripts: split to 2-line pattern (variable + source)
- func files: remove redundant inline defaults
- Only entry points keep the default (ct/*.sh, vm/*.sh, build.func,
  install.func, alpine-install.func)
- Downstream sources use $COMMUNITY_SCRIPTS_URL without default
2026-02-22 14:43:08 +01:00
MickLesk
4b9121f41c feat: add configurable COMMUNITY_SCRIPTS_URL for dev sourcing (#1449)
- Replace all hardcoded source URLs with $COMMUNITY_SCRIPTS_URL variable
- Default: https://git.community-scripts.org/.../ProxmoxVED/raw/branch/main
- Override: export COMMUNITY_SCRIPTS_URL=https://.../your-fork/raw/branch/xyz
- Propagates into container via build.func exports
- Updated: 43 ct scripts, 14 deferred, 22 vm scripts, 5 func files
- Document in docs/DEV_MODE.md with usage examples
- Also normalizes legacy GitHub URLs to Gitea canonical URL
2026-02-22 14:36:31 +01:00
MickLesk
b1ee761b44 feat: add Twenty CRM script (#1476)
- Add ct/twenty.sh with update function
- Add install/twenty-install.sh (Node.js 24, PostgreSQL 16, Redis)
- Add frontend/public/json/twenty.json metadata
- Builds from source: yarn + nx monorepo (server + frontend)
- Server on port 3000, worker as separate systemd service
2026-02-22 14:12:34 +01:00