fix(erpnext): run bench setup production as root, add nginx+supervisor

- bench setup production requires root (is_root check) - was failing as frappe user
- Add nginx and supervisor as apt dependencies for production setup
- Remove custom erpnext.service - bench manages gunicorn+workers via supervisor
- Port 8000 → 80 (nginx reverse proxy)
- Fix bench update in CT to run as frappe user with proper PATH
This commit is contained in:
CanbiZ (MickLesk)
2026-03-25 14:26:04 +01:00
parent 929e78f39b
commit 825a718a07
3 changed files with 7 additions and 25 deletions

View File

@@ -8,7 +8,7 @@
"type": "ct",
"updateable": true,
"privileged": false,
"interface_port": 8000,
"interface_port": 80,
"documentation": "https://docs.erpnext.com/",
"website": "https://erpnext.com/",
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/erpnext.webp",