deploy/proxmox-install.sh bootstraps a fresh LXC end-to-end: apt prereqs, Go toolchain (if missing), git clone, build, then hands off to deploy/install.sh. README documents the curl|bash invocation.
This commit is contained in:
@@ -41,11 +41,29 @@ PXE boot), see [docs/operations.md § First vetting run](docs/operations.md#firs
|
||||
|
||||
## Production install (Proxmox LXC)
|
||||
|
||||
On a fresh Debian/Ubuntu LXC, as root:
|
||||
|
||||
```bash
|
||||
curl -fsSL https://gitea.thewrightserver.net/josh/Vetting/raw/branch/main/deploy/proxmox-install.sh | bash
|
||||
```
|
||||
|
||||
That installs Go (if missing), clones the repo to `/opt/vetting-src`,
|
||||
builds `vetting-linux-amd64`, and hands off to `deploy/install.sh` —
|
||||
which lays down the binary, systemd unit, example config, and
|
||||
`vetting` service user. Then:
|
||||
|
||||
```bash
|
||||
# Edit /etc/vetting/vetting.yaml (bcrypt password, session secret, public URL)
|
||||
sudo systemctl enable --now vetting
|
||||
journalctl -fu vetting
|
||||
```
|
||||
|
||||
Prefer to build yourself? The manual path:
|
||||
|
||||
```bash
|
||||
make orchestrator-linux
|
||||
scp -r bin deploy lxc:/opt/vetting/
|
||||
ssh lxc "cd /opt/vetting && sudo ./deploy/install.sh"
|
||||
# Edit /etc/vetting/vetting.yaml, then:
|
||||
ssh lxc "sudo systemctl enable --now vetting"
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user