Monorepo Overview

Monorepo Overview An architecture diagram generated by Archify. Developer · worktree + PR · Architecture component Developer worktree + PR GitHub Actions · CI: build → scan → push · Architecture component GitHub Actions CI: build → scan → push Container Registry · registry.bensoussan.de · Architecture component Container Registry registry.bensoussan.de Ansible · site.yml provisioning · Architecture component Ansible site.yml provisioning primary host · Postgres, Prometheus, Ollama · Homelab — 2× Debian 13 hosts primary host Postgres, Prometheus, Ollama secondary host · Immich, Jellyfin, Paperless-NGX · Homelab — 2× Debian 13 hosts secondary host Immich, Jellyfin, Paperless-NGX Keepalived VIP · 192.168.2.100 · Homelab — 2× Debian 13 hosts Keepalived VIP 192.168.2.100 Kopia Offsite Backup · B2 (EU) + peer SFTP + HDD · Architecture component Kopia Offsite Backup B2 (EU) + peer SFTP + HDD Users · bensoussan.de · Architecture component Users bensoussan.de push / PR build, scan, push deploy provision provision keepalived MASTER keepalived BACKUP HTTPS nightly snapshot (both hosts) Homelab — 2× Debian 13 hosts Legend Backend Database Cloud External

CI/CD

  • • GitHub Actions builds, Trivy-scans, and podman-pushes every app image
  • • Ansible (site.yml) provisions both hosts from the same playbooks

Infrastructure

  • • primary: Postgres, Prometheus/Loki/Grafana, Ollama (GTX 1050 Ti)
  • • secondary: Immich, Jellyfin, Paperless-NGX
  • • Keepalived VIP fails traffic over between hosts

Backup

  • • Kopia snapshots nightly from both hosts
  • • Replicated offsite to Backblaze B2 (EU), a peer, and HDD