Self-host Outline
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
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
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:3000What you take on
Outline is polished, but its licence and its login model are the two things that surprise people after install: