Skip to content

Template · CMS & sites

Outline

Team knowledge base with Postgres, Redis and local file storage (Google sign-in).

Deploy on Skiffly

Opens the dashboard with this template pre-selected. Sign in with GitHub if you are new; the free tier needs no card.

  • Postgrespostgres:17
  • Redisredis:7-alpine
  • Outlineoutlinewiki/outline:latest
Upstream documentation

What gets deployed

3 services in the environment you pick, on the private network of the project.

About this template

outlinewiki/outline:latest + PostgreSQL + Redis. Outline needs an identity provider: supply Google OAuth credentials (or set OIDC_* / SLACK_* variables afterwards).

Postgres

Image: postgres:17

  • Port 5432/tcp
  • 10 GB volume at /var/lib/postgresql/data
  • 1 vCPU · 1 GB

Redis

Image: redis:7-alpine

  • Port 6379/tcp
  • 2 GB volume at /data
  • 0.5 vCPU · 512 MB

redis-server --appendonly yes --dir /data

Outline

Image: outlinewiki/outline:latest

  • Port 3000/http
  • Public domain with TLS
  • 10 GB volume at /var/lib/outline/data
  • 1 vCPU · 1 GB
  • /_health

Variables

Generated secrets never leave the platform; references are resolved on the private network. Anything marked required is asked for at deploy time.

Postgres

NameValue
POSTGRES_USERpostgresSuperuser name
POSTGRES_PASSWORDgenerated (password)Generated at deploy
POSTGRES_DBoutlineDatabase created on first start
PGDATA/var/lib/postgresql/data/pgdata
DATABASE_URLpostgresql://${{self.POSTGRES_USER}}:${{self.POSTGRES_PASSWORD}}@${{self.SKIFFLY_PRIVATE_DOMAIN}}:5432/${{self.POSTGRES_DB}}Connection string on the private network

Redis

NameValue
REDIS_URLredis://${{self.SKIFFLY_PRIVATE_DOMAIN}}:6379Private network only, no auth

Outline

NameValue
NODE_ENVproduction
SECRET_KEYgenerated (hex64)
UTILS_SECRETgenerated (hex64)
DATABASE_URL${{Postgres.DATABASE_URL}}
PGSSLMODEdisable
REDIS_URL${{Redis.REDIS_URL}}
URLhttps://${{self.SKIFFLY_PUBLIC_DOMAIN}}
PORT3000
FILE_STORAGElocal
FILE_STORAGE_LOCAL_ROOT_DIR/var/lib/outline/data
FILE_STORAGE_UPLOAD_MAX_SIZE262144000
GOOGLE_CLIENT_IDrequired at deployGoogle OAuth client ID (Outline requires an SSO provider)
GOOGLE_CLIENT_SECRETrequired at deployGoogle OAuth client secret
FORCE_HTTPSfalse

Deploy button for your README

Add a one-click deploy link to your repository or docs. Two variants: for light and dark backgrounds.

Deploy on SkifflyDeploy on Skiffly
Markdown · Light background
[![Deploy on Skiffly](https://skiffly.dev/button.svg)](https://skiffly.dev/templates/outline)
Markdown · Dark background
[![Deploy on Skiffly](https://skiffly.dev/button-dark.svg)](https://skiffly.dev/templates/outline)
HTML
<a href="https://skiffly.dev/templates/outline"><img src="https://skiffly.dev/button.svg" alt="Deploy on Skiffly" height="32"></a>

Deploy Outline in one click

Volumes, secrets and domain pre-wired. Runs on EU nodes, paid per minute from a prepaid balance.