Add Proxmox worker CT, off-box watch, backup, and tagged deploy.
Some checks are pending
offline / test (push) Waiting to run
Some checks are pending
offline / test (push) Waiting to run
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.
This commit is contained in:
parent
2d51d7a0dd
commit
7a5e25639e
69 changed files with 1087 additions and 118 deletions
40
packages/verae-keep/units.px-worker.json
Normal file
40
packages/verae-keep/units.px-worker.json
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue