ops: paivana and caddy config refresh

This commit is contained in:
Hernâni Marques 2026-09-09 00:52:54 +02:00
parent d8dbc6242b
commit 56f814a6de
No known key found for this signature in database
74 changed files with 4517 additions and 79 deletions

View file

@ -0,0 +1,27 @@
# koopa BBB Ubuntu VM — lean defaults (host ~15 Gi / 4 cores)
# Override before sourcing: RAM_MIB=4096 VCPUS=2 …
VM_NAME=koopa-bbb
# Official prod=16G; local-dev floor=8G. Koopa lean default=6G + guest swap.
RAM_MIB=6144
VCPUS=2
DISK_GB=50
# Ubuntu 22.04 LTS (bbb-install 3.0). 24.04 only if docs for your branch say so.
OS_VARIANT=ubuntu22.04
CLOUD_IMAGE_URL=https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-amd64.img
HOSTNAME=bbb.hacktivism.ch
# Bridged LAN (preferred for media DNAT). Set BRIDGE= after host-prep creates br0.
BRIDGE=
# Fallback: libvirt default NAT (media harder; ok for first boot/ssh)
NETWORK_SOURCE=default
# Guest swap (MiB) — important when RAM_MIB < 8192
SWAP_MIB=4096
# SSH pubkey injected via cloud-init (path on koopa host)
SSH_PUBKEY_FILE=/home/hernani/.ssh/id_ed25519.pub
# Disk pool
POOL_DIR=/var/lib/libvirt/images
# bbb-install branch + Greenlight
BBB_INSTALL_BRANCH=v3.0.x-release
BBB_INSTALL_EXTRA=-g
# After VM has IP: Caddy may stay on :9032 stub until cutover, or point at VM:80
CADDY_BACKEND_HINT=VM_HTTP_80_OR_DNAT