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.
38 lines
1.2 KiB
Markdown
38 lines
1.2 KiB
Markdown
# verae-proxmox
|
||
|
||
Provision an **archive worker LXC** on **NS1.GEORGELAMBERT.ORG** (this box **is** the Proxmox host).
|
||
|
||
| | |
|
||
|--|--|
|
||
| VMID | **510** |
|
||
| Hostname | `verae-px-worker` |
|
||
| Network | `vmbr1` **10.10.10.20/24** gw `10.10.10.1` |
|
||
| Storage | SSD2 16G, unprivileged Ubuntu 24.04 |
|
||
| Roles | `tree-node`, `archive-worm` |
|
||
| NATS | `nats://10.10.10.1:4222` via host socat proxy (loopback NATS stays `127.0.0.1:4222`; **not** on `vmbr0`) |
|
||
|
||
**Forgejo:** https://git.georgelambert.org/marchon/verae-proxmox
|
||
**SSH:** `ssh://git@git.georgelambert.org:2223/marchon/verae-proxmox.git`
|
||
|
||
```bash
|
||
# on NS1
|
||
git clone ssh://git@git.georgelambert.org:2223/marchon/verae-proxmox.git
|
||
cd verae-proxmox
|
||
bash scripts/create-worker.sh
|
||
ssh marchon@10.10.10.20
|
||
```
|
||
|
||
On the guest:
|
||
|
||
```bash
|
||
git clone ssh://git@git.georgelambert.org:2223/marchon/verae-bootstrap.git
|
||
cd verae-bootstrap
|
||
bash scripts/host-deps.sh --type proxmox-worker
|
||
export VERAE_SRC=$HOME/verae-src
|
||
export NATS_URL=nats://10.10.10.1:4222
|
||
bash scripts/fetch.sh proxmox-worker
|
||
```
|
||
|
||
Then enable `px-worker` in `verae-fleet/overlays/ns1/machines.json` and `node src/cli.js ssh-check px-worker`.
|
||
|
||
Keep on the guest uses `units.px-worker.json` (worm ×1 + tree-node ×1 extra copies). Host keep still runs the NS1 floor of 3.
|