The fastest knowledge base for growing teams. A self-hosted, open-source wiki and documentation tool with real-time collaboration and Markdown support.
Outline is a fast, collaborative, open-source knowledge base and wiki for growing teams. This template deploys Outline together with PostgreSQL and Redis, using local file storage (no S3/MinIO required).
Outline has no username/password login. Sign-in only works through an SSO provider (OIDC, Google, Slack, GitHub, etc.). The email magic-link only works for users who already exist, so the very first admin account must be created via SSO. After deploying, set one of the following on the outline service and restart it:
💡 The first person to sign in automatically becomes the administrator — there is no separate admin setup. Just make sure you are the first to log in.
Set these env vars on the outline service:
OIDC_CLIENT_IDOIDC_CLIENT_SECRETOIDC_AUTH_URIOIDC_TOKEN_URIOIDC_USERINFO_URIRedirect / callback URL to register with your provider:
https://YOUR_DOMAIN/auth/oidc.callback
Create an OAuth client in Google Cloud Console and set:
GOOGLE_CLIENT_IDGOOGLE_CLIENT_SECRETRedirect URL: https://YOUR_DOMAIN/auth/google.callback
SECRET_KEY and UTILS_SECRET are auto-generated on first boot and persisted to the data volume — don't change them or existing encrypted data becomes unreadable.SMTP_* variables./var/lib/outline/data.outlinewiki/outline image for Zeabur.