management/updater/deploy-map.js

14 lines
860 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' },
}