Provision Vectra LXC with nginx via LoopAware IaC (#3802) #1

Open
fredrick wants to merge 1 commit from feature/3802-lxc-nginx into main
Owner

Refs #3802 — https://redmine.loopaware.com/issues/3802

Deploys the Vectra web/app LXC (la-vectra-01, VMID 12140, 10.32.71.153) on la-vmh-07 through LoopAware IaC:

  • OpenTofu creates the Debian 13 LXC (pinned bpg/proxmox, local-backup rootfs, autostart).
  • Ansible + Jinja2 render and deploy nginx, the systemd unit, and the FastAPI app; nginx is explicitly reloaded after the site is enabled.
  • la-infra-cli handles IPAM, DHCP MAC correction, and HAProxy ingress.
  • scripts/env.sh reads credentials only from ~/cred/dynamic-infra.yaml.
  • Repairs the duplicate 10.32.71.27 allocation and restores the ouroboros DHCP reservation.

Verified end to end: bash infra/scripts/verify-vectra.sh -> PASS; tofu plan -> no changes; https://vectra.loopaware.com/ -> 302 to Authelia.

Commit: 1943fe9

Refs #3802 — https://redmine.loopaware.com/issues/3802 Deploys the Vectra web/app LXC (`la-vectra-01`, VMID 12140, 10.32.71.153) on `la-vmh-07` through LoopAware IaC: - OpenTofu creates the Debian 13 LXC (pinned `bpg/proxmox`, local-backup rootfs, autostart). - Ansible + Jinja2 render and deploy nginx, the systemd unit, and the FastAPI app; nginx is explicitly reloaded after the site is enabled. - `la-infra-cli` handles IPAM, DHCP MAC correction, and HAProxy ingress. - `scripts/env.sh` reads credentials only from `~/cred/dynamic-infra.yaml`. - Repairs the duplicate `10.32.71.27` allocation and restores the ouroboros DHCP reservation. Verified end to end: `bash infra/scripts/verify-vectra.sh` -> PASS; `tofu plan` -> no changes; `https://vectra.loopaware.com/` -> 302 to Authelia. Commit: 1943fe9
Provision VMID 12140 (la-vectra-01, 10.32.71.153) on la-vmh-07 through
OpenTofu, deploy FastAPI + nginx through Ansible/Jinja2, and register the
ingress through la-infra-cli. Repair the duplicate 10.32.71.27 IPAM
allocation and restore the ouroboros DHCP reservation.

Refs #3802
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feature/3802-lxc-nginx:feature/3802-lxc-nginx
git switch feature/3802-lxc-nginx

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff feature/3802-lxc-nginx
git switch feature/3802-lxc-nginx
git rebase main
git switch main
git merge --ff-only feature/3802-lxc-nginx
git switch feature/3802-lxc-nginx
git rebase main
git switch main
git merge --no-ff feature/3802-lxc-nginx
git switch main
git merge --squash feature/3802-lxc-nginx
git switch main
git merge --ff-only feature/3802-lxc-nginx
git switch main
git merge feature/3802-lxc-nginx
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Vectra/meta!1
No description provided.