991 B
991 B
Kostenverdeler deployen op Proxmox VE
Gebruik deploy-kostenverdeler-pve.sh in de shell van je Proxmox host.
Snel starten met DHCP
bash deploy-kostenverdeler-pve.sh
Dit maakt standaard container 120 aan en serveert de app op poort 8080.
Met statisch IP
CTID=120 \
NET0_IP="192.168.1.50/24" \
GATEWAY="192.168.1.1" \
bash deploy-kostenverdeler-pve.sh
Met domeinnaam via Caddy
Zorg eerst dat DNS naar de container wijst. Daarna:
CTID=120 \
NET0_IP="192.168.1.50/24" \
GATEWAY="192.168.1.1" \
DOMAIN="kosten.henrystuifzand.nl" \
bash deploy-kostenverdeler-pve.sh
Veelgebruikte variabelen
CTID=120
HOSTNAME=kostenverdeler
STORAGE=local-lvm
TEMPLATE_STORAGE=local
DISK_SIZE=4
MEMORY=256
CORES=1
BRIDGE=vmbr0
DOMAIN=
REPO_URL=https://git.henrystuifzand.nl/henry/kostenverdeler.git
Updaten na een nieuwe commit
pct exec 120 -- bash -lc 'cd /var/www/kostenverdeler && git pull && systemctl reload caddy'