10 Sentinels Active
SENTINEL 01: [AEGIS] AUDITING POCKETBASE INFRASTRUCTURE...
Back to Self-Hosted Stacks
Outline

Deploy Outline

Fast, collaborative, knowledge base for your team built using React and Markdown.

Quick Start

1

Create a directory

mkdir outline-self-hosted && cd outline-self-hosted
2

Create config file

Copy the content from the Config tab below into a file named docker-compose.yml

3

Deploy

docker compose up -d
Fast Track

Deploy Outline in Minutes

Use our optimized Docker templates to deploy Outline on any cloud provider. Get $200 in free credit to start on DigitalOcean.

Start with free creditDeploy on DigitalOcean
$200

Metadata

License
Other
Language
TypeScript
Last Updated
10/14/2026
Category
Productivity

Configuration

yaml
services:
  outline:
    image: outlinewiki/outline:latest
    container_name: outline
    restart: unless-stopped
    depends_on:
      db:
        condition: service_healthy
      redis:
        condition: service_started
    ports:
      - "3000:3000"
    environment:
      - DATABASE_URL=postgres://outline:outline@db:5432/outline
      - REDIS_URL=redis://redis:6379
      - SECRET_KEY=changeme-min-32-chars-long-secret-key
      - UTILS_SECRET=changeme-min-32-chars-long-utils-secret
      - URL=http://localhost:3000
      - FILE_STORAGE=local
      - FILE_STORAGE_LOCAL_ROOT_DIR=/var/lib/outline/data

  db:
    image: postgres:14-alpine
    container_name: outline-db
    restart: unless-stopped
    environment:
      - POSTGRES_USER=outline
      - POSTGRES_PASSWORD=outline
      - POSTGRES_DB=outline
    volumes:
      - outline_db_data:/var/lib/postgresql/data
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U outline"]
      interval: 10s
      timeout: 5s
      retries: 5

  redis:
    image: redis:alpine
    container_name: outline-redis
    restart: unless-stopped

volumes:
  outline_db_data:

Community Notes

Help others by adding context, corrections, or warnings about this tool. Sign in to contribute.

No community notes yet. Be the first to add context.