Skip to content

Self-host Outline

updated Jul 2026prices checked · Jul 2026Install verified on Ubuntu 26.04 · Jul 2026 · how we test
We earn commissions when you shop through the links below. Full disclosure →

A polished, real-time collaborative team knowledge base with a great editor and search. Heavier to run, but the closest self-hosted feel to Notion.

Key facts

CategoryWiki & docs
LicenseBSL-1.1
StackTypeScript, Node.js
Min RAM1024 MB
Official imageyes
Difficulty
Our recommendation

Pick Outline when you want the editor that feels most like the SaaS it replaces — real-time collaboration, comments and threads, Markdown with slash commands and embeds — and you already run an identity provider. Outline has no email-and-password login: the sample config requires at least one of Slack, Google, Microsoft Entra, Discord or a generic OIDC provider, so a homelab pairs it with Authentik, Keycloak or Pocket ID. Read the license before you standardise on it: it is Business Source License 1.1, not open source.

Follow the Outline deploy guide →

What you need

  • Any VPS with at least 1024 MB of RAM
  • A domain you control — most self-hosted setups need HTTPS in front of them
  • About an afternoon — budget time for troubleshooting
Where to host itaffiliate disclosure
Hetzner Cloudrun it on
From $23.59/mo · 2 vCPU / 4 GB / 80 GB · EU + US
Get Hetzner Cloud (opens in new tab)
Kamaterafree trial
From $4/mo · 1 vCPU / 1 GB / 20 GB · US + EU + Asia
Start free on Kamatera → (opens in new tab)
DigitalOceanalso works on
From $6/mo · 1 vCPU / 1 GB / 25 GB · US + EU + Asia
Deploy on DigitalOcean → (opens in new tab)

Paid link — we earn a commission if you shop through it.

Install with Docker Compose

Save this as compose.yml and run docker compose up -d:

# Outline: the shape of the stack, not a file to run as-is (as written, Postgres and Outline exit within seconds)
services:
  outline:
    image: outlinewiki/outline:latest
    ports: ["3000:3000"]
    environment: { DATABASE_URL: postgres://outline:secret@db/outline, REDIS_URL: redis://redis:6379 }
  db: { image: postgres:16 }
  redis: { image: redis:7 }
# to run it: give db POSTGRES_USER/PASSWORD/DB, give outline SECRET_KEY + UTILS_SECRET (openssl rand -hex 32) and one auth provider (OIDC/Google/Slack) per the docs  →  http://SERVER_IP:3000

What you take on

Outline is polished, but its licence and its login model are the two things that surprise people after install:

non-negotiableThe licence is BSL 1.1 from General Outline, Inc. Each version converts to Apache 2.0 on its own change date (2030-09-09 for the current one), and the additional use grant forbids using it to offer a "Document Service". Fine for a company wiki; not fine if you planned to host it for others.
non-negotiable"Outline does not support email + password authentication natively" (hosting docs). The .env.sample is explicit that at least one third-party sign-in provider is required "or you'll have no sign-in options" — the providers shipped are Slack, Google, Microsoft Entra / Azure AD, Discord and generic OIDC.
non-negotiableIt is a three-service stack — Outline, PostgreSQL and Redis — with URL, DATABASE_URL, REDIS_URL and SECRET_KEY as the documented minimum and UTILS_SECRET also expected; generate both secrets with openssl rand -hex 32. Attachments go to local disk or S3-compatible storage.
non-negotiableFORCE_HTTPS defaults to true, so a production instance redirects to HTTPS — put a TLS-terminating proxy in front before first login or you will be redirected to a port nothing is listening on.
non-negotiableThe 1 GB floor is our estimate for the three containers; the hosting docs we read publish no RAM figure.

An alternative to

Head-to-head

More in Wiki & docs

Wiki & docs

BookStack

A simple, genuinely open-source documentation wiki organized into shelves, books, and pages — easy to run and easy for non-technical teams to use.
PHPLaravel
easyRead guide →
Wiki & docs

Docmost

A collaborative wiki and documentation tool that positions itself as an open-source alternative to Confluence and Notion: real-time co-editing, spaces, groups and permissions, comments, page history, search, attachments, and built-in Draw.io, Excalidraw, and Mermaid diagrams. The core is AGPL-3.0 and runs as one Node.js container beside PostgreSQL and Redis; Bases (databases), SSO, AI features, audit logs, and SCIM are licensed Business/Enterprise features.
TypeScriptNode.jsPostgreSQLRedis
easyRead guide →
Wiki & docs

DokuWiki

A long-lived PHP wiki engine that stores pages as plain text files — no database to run, back up, or migrate. The project's own Docker image (a PHP + Apache container with a single storage volume) is the whole install; a web installer configures the wiki on the first visit, and the plugin and template ecosystem is where most of its features live.
PHPApache
easyRead guide →
Wiki & docs

MediaWiki

The PHP wiki engine behind Wikipedia, licensed GPL-2.0-or-later and built for large public knowledge bases: wikitext markup, categories, templates, full revision history, and a vast extension ecosystem. It runs on MariaDB/MySQL (recommended), PostgreSQL, or SQLite, and its own documentation recommends no Docker image for third-party production use — the Docker Hub image is community-maintained and the install still ends with you saving a generated LocalSettings.php.
PHPMariaDB
moderateRead guide →

We use analytics cookies (Google Analytics, PostHog) to see which guides are useful. No ad networks, no cross-site tracking. See our privacy policy.