master-zapier-plan-draft/packages/verae-keep/units.px-worker.json
George Lambert 7a5e25639e
Some checks are pending
offline / test (push) Waiting to run
Add Proxmox worker CT, off-box watch, backup, and tagged deploy.
NS1 is the Proxmox host. verae-proxmox creates LXC 510 (verae-px-worker
10.10.10.20 on vmbr1) with a private NATS proxy on 10.10.10.1:4222.
verae-uptime GET-watches public doors; verae-backup snapshots SQLite and
worm/tree data; verae-deploy does host-deps + checkout + npm ci.
Fleet overlays/ns1 are checked in (start.sh no longer rewrites JSON).
User systemd + linger for keep and fleet survive reboot.
2026-09-11 23:35:44 -04:00

40 lines
1.2 KiB
JSON

{
"bind": "127.0.0.1",
"port": 3860,
"intervalMs": 2000,
"runtimeDir": "~/verae-fleet-runtime",
"units": [
{
"id": "archive-worm-px-0",
"health": "http://127.0.0.1:13500/health",
"cwd": "~/verae-src/verae-fleet",
"command": ["node", "src/worker.js"],
"env": {
"FLEET_ROLE": "archive-worm",
"FLEET_SERVICE": "archive-worm",
"FLEET_INSTANCE": "archive-worm-px-0",
"FLEET_MACHINE": "px-worker",
"FLEET_HEALTH_PORT": "13500",
"FLEET_HEALTH_BIND": "127.0.0.1",
"FLEET_STATE_DIR": "data/archive-worm-px-0",
"NATS_URL": "nats://10.10.10.1:4222"
}
},
{
"id": "tree-node-px-0",
"health": "http://127.0.0.1:13600/health",
"cwd": "~/verae-src/verae-fleet",
"command": ["node", "src/worker.js"],
"env": {
"FLEET_ROLE": "tree-node",
"FLEET_SERVICE": "tree-node",
"FLEET_INSTANCE": "tree-node-px-0",
"FLEET_MACHINE": "px-worker",
"FLEET_HEALTH_PORT": "13600",
"FLEET_HEALTH_BIND": "127.0.0.1",
"FLEET_STATE_DIR": "data/tree-node-px-0",
"NATS_URL": "nats://10.10.10.1:4222"
}
}
]
}