Knowledge & Workspace⭐ 56k+ GitHubLicense: AGPL v3

How to Self-Host AppFlowy with Docker Compose

Open-Source Alternative to: Notion ($10/seat/mo)

AppFlowy gives you 100% data ownership over your documents, wikis, and Kanban boards. Built with Flutter and Rust, it operates blazingly fast without vendor cloud lock-in.

MINIMUM HARDWARE
2 GB RAM, 1 vCPU, 20 GB Disk
ESTIMATED SAVINGS
$1,200/year
OFFICIAL REPOSITORY
github.com/AppFlowy-IO/AppFlowy ↗

Production Docker Compose File

Copy this tested configuration directly into your server's directory:

🐳 docker-compose.yml
version: '3.8'
services:
  appflowy-cloud:
    image: appflowyinc/appflowy_cloud:latest
    restart: always
    ports:
      - '8000:8000'
    environment:
      - APPFLOWY_DATABASE_URL=postgres://appflowy:password@postgres:5432/appflowy
      - RUST_LOG=info
    depends_on:
      - postgres
  postgres:
    image: postgres:15-alpine
    restart: always
    environment:
      - POSTGRES_USER=appflowy
      - POSTGRES_PASSWORD=password
      - POSTGRES_DB=appflowy
    volumes:
      - pgdata:/var/lib/postgresql/data
volumes:
  pgdata:

Quick Deployment Steps

1. SSH into your VPS. 2. Paste the docker-compose.yml file into a new folder. 3. Run: docker compose up -d 4. Open http://your-server-ip:8000 and connect your desktop AppFlowy client.

Key Advantages & Trade-Offs

✓ Why Self-Host AppFlowy?

  • Zero telemetry and total offline-first architecture
  • Native cross-platform desktop (macOS, Windows, Linux) and mobile apps
  • End-to-end encryption with self-hosted cloud sync

⚠ What to Keep in Mind

  • Fewer third-party plugin integrations than mature Notion
  • Self-hosted sync server requires Docker familiarity

More Self-Hosted Alternatives

Project Management
Plane
Replaces Jira ($8.50/seat/mo) & Linear
No-Code Database
NocoDB
Replaces Airtable ($20/seat/mo)
Team Communication
Mattermost
Replaces Slack ($8.75/seat/mo)