management/updater/deploy-map.js
jtricerolph cfb3986584 Remove management from deploy-map (can't self-update)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-01 17:14:50 +00:00

15 lines
950 B
JavaScript

// 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' },
// 'management' intentionally omitted — can't redeploy the container managing deploys
}