GitPop

Self-hosting in 2026: a practical guide to the new stack

Self-hosting has gotten a new lease on life in 2026. The cloud bill revolt, AI data privacy, and the maturation of self-hostable alternatives have created the best self-hosting ecosystem in 10 years. Here is the practical stack.

GitPop··5 min read

Quick answer. The 2026 self-hosting stack has three layers: (1) infrastructure — Coolify or Dokku on a single Hetzner/Awayls box, with Caddy for HTTPS, (2) data — Postgres, Meilisearch, MinIO for object storage, and (3) apps — a curated list of 5-10 self-hostable SaaS replacements. The total monthly cost is $20-50 for a typical single-user or family deployment.

Why self-hosting in 2026

Three things changed in 2024-2026 that made self-hosting a serious option again:

  1. Cloud bills got stupid. The average SaaS company spent 28% of revenue on cloud infrastructure in 2025. Small teams and indie devs hit a wall where the per-seat SaaS bill exceeded what they could charge customers. Self-hosting became a competitive move, not a hobby.
  2. AI made data privacy a hard requirement. As soon as teams started shipping LLM-backed products, they hit the data residency question. "Where does my user data go?" got harder to answer when 80% of the SaaS stack was LLM-backed. Self-hosting the data path eliminated the question.
  3. The open-source replacements matured. The 2026 versions of NocoDB, AppFlowy, Outline, Chatwoot, Meilisearch, and the rest of the self-hostable SaaS replacements are good. Not "good for open source" — just good. The capability gap closed.

The 2026 self-hosting stack

Layer 1: Infrastructure

The right pick for most people is a single dedicated server from Hetzner, OVH, or Netcup. AX41 / AX52 / AX102 are the sweet spot in 2026 — €40-80/month for 64-128GB RAM and a recent AMD CPU. For a single user or a small family, this is overkill in the best way.

On the server, you need:

  • OS: Debian 12 or Ubuntu 24.04 LTS. Don't run Arch on a server. Don't run Fedora on a server.
  • Container runtime: Docker (or Podman if you're rootless-first).
  • Orchestrator: Coolify for the Heroku-style experience, or Dokku for the lowest-level control. Coolify wins for most people in 2026 — see our Vercel alternatives for the broader comparison.
  • Reverse proxy: Caddy for automatic HTTPS. Don't configure Let's Encrypt by hand in 2026.
  • Backups: BorgBackup or Restic to a second Hetzner Storage Box. €4/month for 1TB of redundant storage.

Layer 2: Data

The data layer is where most self-hosting setups go wrong. Don't just install Postgres and call it a day. The right 2026 setup:

  • Postgres — the default. Run PostgreSQL in a Docker container, take a daily logical backup with pg_dumpall, replicate with WAL-G to your backup box.
  • Vector store — if you are running LLM-backed apps, add Qdrant. See Best open source AI tools in 2026 for the broader AI stack.
  • Object storageMinIO for S3-compatible storage. Use it as the storage backend for anything that needs a blob store.
  • SearchMeilisearch is the right pick for most self-hosted search. Typesense is the alternative if you want Algolia's exact API.
  • CacheRedis for the obvious reasons.
  • SecretsVault for production deployments, or a single encrypted file for hobby deployments. Don't use environment variables in plain .env files in 2026.

Layer 3: Apps

The 2026 self-hostable SaaS replacement list, by use case:

  • Auth: Logto (best in 2026) or Keycloak (enterprise).
  • Email: Maddy or Stalwart for the mail server, Postal for the marketing/transactional hybrid.
  • Docs: Outline for the docs-and-wiki, AppFlowy for the full Notion replacement.
  • Spreadsheets: NocoDB for the Airtable replacement, Baserow for the simpler alternative.
  • Project management: Plane for the Linear replacement.
  • Chat: Mattermost for the Slack replacement, Element for the Matrix-based option.
  • Forms: Formbricks for the Typeform replacement.
  • CRM: EspoCRM for the HubSpot replacement.
  • Video conferencing: Jitsi Meet for the Zoom replacement.
  • Monitoring: SigNoz for the Datadog APM replacement, Grafana for the dashboards.
  • Analytics: Plausible or Umami for the GA4 replacement.
  • Status page: Statuspage for the Atlassian replacement.

Don't install all of these. Pick the 5-7 you actually use, and resist the urge to "self-host everything."

The cost

For the full stack above on a single Hetzner AX52, the monthly cost is:

  • Server: €50
  • Storage Box: €4
  • Domain: €1
  • Backups: included
  • Total: ~€55/month

Compared to the equivalent SaaS bill (Notion $10/user + Slack $7.25/user + Linear $8/user + Datadog $15/host + PostHog Cloud + email + ...), the savings are 5-10x for a small team. The cost is your time — probably 4-8 hours a month of maintenance once the system is set up.

For the broader alternatives landscape, see our alternatives matrix. For the data behind the trends in 2026, see the State of GitPop H2 2026 data report.

Tags

  • #self-hosting
  • #devops
  • #guide
  • #open-source