tools: update inside LXC and use the existing proxy
agent-review agent review: fail

Keep the Proxmox host responsible only for container creation. Serve the private backend on port 5187 behind the operator's HTTPS proxy and install a self-updating in-container command. Preserve existing identity and history while migrating the old installer-owned proxy with listener rollback.

Refs #21
This commit is contained in:
Florian Schmidt
2026-11-15 12:49:53 +01:00
parent c75446008c
commit 7b70c7a0fa
20 changed files with 617 additions and 607 deletions
+3 -3
View File
@@ -18,14 +18,14 @@ bash tools/proxmox.sh install --ctid 201 --storage local-lvm \
--domain usage.example.com --email [email protected]
```
For a later update, refresh and deploy the clean checkout with one command:
For a later update, run as root **inside the LXC**:
```bash
bash tools/proxmox-update.sh 201
finaltoken-update
```
Here `--email` is the intended **provider account identity**, not a Git login. The installer
reads the local checkout; the separate updater fetches its tracking branch first. The branch being cloned must contain the
reads the local checkout only during creation; the in-container updater fetches public master itself. The branch being cloned must contain the
web/worker/installer changes. A public visibility setting alone does not publish uncommitted work.
## Files to keep local