Initial commit: management

This commit is contained in:
jtricerolph 2026-07-01 12:09:54 +00:00
commit ab329d497b
8 changed files with 243 additions and 0 deletions

14
updater/deploy-map.js Normal file
View file

@ -0,0 +1,14 @@
// Maps Forgejo repo names → target LXC SSH details.
// Keys are the plain repo names Forgejo sends in the webhook (repository.name).
// The updater only pulls + rebuilds existing LXCs — provisioning is done on the
// Proxmox host with proxmox-helpers/add-app.sh, which appends new apps here.
export const deployMap = {
'noticeboard': { host: '10.10.10.112', path: '/opt/noticeboard' },
'kitchen': { host: '10.10.10.110', path: '/opt/kitchen' },
'cashup': { host: '10.10.10.111', path: '/opt/cashup' },
'housekeeping': { host: '10.10.10.114', path: '/opt/housekeeping' },
'forecasting': { host: '10.10.10.113', path: '/opt/forecasting' },
'rates': { host: '10.10.10.115', path: '/opt/rates' },
'portal': { host: '10.10.10.102', path: '/opt/portal' },
'auth': { host: '10.10.10.101', path: '/opt/auth' },
}