Skip to content
Projets

À propos

Personal Homelab

Systèmes et infrastructure

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
+2
in 15 days
+2
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

(Not So) Experimental Homelab

Fedora CoreOS on Proxmox, rootless Podman and Quadlet applications managed with OpenTofu. Adapt storage, networking and accounts before using this configuration elsewhere.

Architecture

flowchart TB
    tofu["OpenTofu"]
    gatus["Gatus on a separate VPS"]

    subgraph host["Proxmox host"]
        pve["Proxmox VE"]
        fcos["Fedora CoreOS VM<br/>Quadlet applications"]
        pbs["Proxmox Backup Server VM"]

        pve -->|VM and ZFS storage| fcos
        pve -->|Disk and file backups| pbs
    end

    tofu -. Provisions VM .-> pve
    tofu -. Deploys apps over SSH .-> fcos
    gatus -->|Availability checks| fcos
    pbs -->|S3| cloud["Backblaze B2 and Storj"]

Traefik, Alloy, Victoria and Grafana run alongside the other Quadlet applications. Traefik proxies the PVE and PBS web UIs and sends telemetry to Alloy. Victoria also receives metrics and logs from PVE and PBS.

Services

Personal productivity

Service Purpose
Actual Budget Personal budgeting
Glance Homelab start page
Karakeep Bookmark management and web archiving
Miniflux RSS and Atom feed reader
Nogon Search for previously visited web pages
Outline Collaborative wiki and knowledge base
SilverBullet Personal Markdown notes and wiki

Files, photos and media

Service Purpose
Gopeed Download manager
Immich Photo and video backup and browsing
OpenCloud File sync, sharing and collaborative editing with Collabora
Plex Media streaming
qBittorrent BitTorrent client
Stash Media catalog and browser

Messaging, email and social

Service Purpose
DavMail Exchange gateway for mail, calendars and contacts
Element Admin Web console for Matrix administration
Element Call Web app for Matrix voice and video calls
Element Web Matrix web client
Forward Info Bot Telegram bot for inspecting forwarded messages
Masked Email Bot Telegram bot for masked email aliases
Matrix Synapse homeserver and Matrix Authentication Service
MatrixRTC LiveKit media and authorization backend for Matrix calls
Tranquil PDS Personal Data Server for AT Protocol

Web publishing

Service Purpose
Blog Static blog hosting
GoatCounter Website analytics
IPFS (Kubo) Publishes the blog mirror over IPFS and IPNS
Remark42 Blog comments
Static Web Server Static files and map tiles for Immich

Developer tools and AI

Service Purpose
agentgateway Shared gateway for MCP servers
MCP Telegram MCP server for Telegram
Open WebUI Web chat interface for language models
Opengist Git-backed snippet sharing
Tangled Knot Git repository hosting for Tangled

Networking and access

Service Purpose
CrowdSec Intrusion detection and IP blocking via Traefik
OAuth2 Proxy Browser sign-in for Traefik-protected services
Pocket ID Passkey sign-in and OpenID Connect provider
Remnawave Proxy management panel and subscription page
SOCKS5 proxy Authenticated SOCKS5 proxy via 3proxy
step-ca Private certificate authority
Traefik Reverse proxy and TLS routing

Observability and MQTT

Service Purpose
Gatus Availability checks from a separate VPS
Grafana Dashboards for metrics, logs and traces
Grafana Alloy Collects and forwards metrics, logs and traces
Prometheus Podman Exporter Prometheus metrics for Podman
Prusa Exporter Prometheus metrics for Prusa 3D printers
RMQTT MQTT message broker
Telegraf Collects metrics from MQTT
VictoriaMetrics, VictoriaLogs and VictoriaTraces Telemetry storage with vmauth for access control

Layout

Setup

  1. Prepare Proxmox API and SSH access, host storage, DNS, CA trust and the required Bitwarden, Cloudflare, OIDC and backup accounts.
  2. Copy terraform.tfvars.example to terraform.tfvars, set the values and run chmod 600 terraform.tfvars.
  3. Load the Proxmox SSH key into the agent and use the OpenTofu version required by main.tf. Set separate keys for the core administrator and the homelab deployment user. The Quadlet provider skips SSH host-key verification.
tofu init
tofu validate
tofu plan
tofu apply

Fedora CoreOS replacement

Changes to the Ignition snippet replace the VM and its OS disk. The new VM reattaches the external data zvol and VirtIO-FS shares and redeploys applications. Keep the OpenTofu state and review the plan while the current VM is reachable. Use the following command to plan a manual replacement.

tofu plan -replace=proxmox_virtual_environment_vm.fcos

Apply with the same -replace argument after reviewing the plan.

Application changes

Add files under configs and register them with their systemd units in applications in deployment.tf, then review and apply. The Quadlet provider deploys over SSH to homelab's ~/.config and strips the .tftpl suffix. Changes to the shared container defaults activate every application with containers. Check application readiness after applying.

Secrets and updates

To redeploy a rotated Podman, Gatus or ACME secret, bump its revision in secret_config.podman, secret_config.gatus or secret_config.proxmox_acme_cloudflare_token and apply. List shared Podman secrets in every consumer's secrets field.

For authenticated ATCR image pulls, store a Podman auth.json containing only the atcr.io entry in Bitwarden and set secret_config.podman.atcr-registry-auth. Generate the JSON with podman login --authfile /path/to/private/auth.json atcr.io using an ATCR device credential or an ATProto app password.

Renovate proposes image and provider updates.

Explorer des projets similaires

Chargement…