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

Deploy AppFlowy

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

Quick Start

1

Create a directory

mkdir appflowy-self-hosted && cd appflowy-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 AppFlowy in Minutes

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

Start with free creditDeploy on DigitalOcean
$200

Metadata

License
AGPL-3.0
Language
Dart
Last Updated
10/8/2026
Category
Productivity

Configuration

yaml

# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# 🚀 BUILT & MAINTAINED BY THE ALTSTACK
# 🌍 https://thealtstack.com
# 💡 Open-source deployment templates for modern self-hosting.
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

# Docker Compose for AppFlowy
version: '3.8'

services:
  appflowy:
    build:
      context: .
      dockerfile: Dockerfile
    container_name: appflowy
    ports:
      - "8080:80"
    depends_on:
      appflowy_db:
        condition: service_healthy
      appflowy_redis:
        condition: service_healthy
    environment:
      - RUST_LOG=info
      - DATABASE_URL=postgres://postgres:password@appflowy_db:5432/appflowy
      - REDIS_URL=redis://appflowy_redis:6379
    volumes:
      - appflowy_data:/app_data
    networks:
      - appflowy_net
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:80/health"]
      interval: 30s
      timeout: 10s
      retries: 3

  appflowy_db:
    image: postgres:15-alpine
    container_name: appflowy_db
    environment:
      - POSTGRES_USER=postgres
      - POSTGRES_PASSWORD=password
      - POSTGRES_DB=appflowy
    volumes:
      - pg_data:/var/lib/postgresql/data
    networks:
      - appflowy_net
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U postgres"]
      interval: 5s
      timeout: 5s
      retries: 5

  appflowy_redis:
    image: redis:7-alpine
    container_name: appflowy_redis
    volumes:
      - redis_data:/data
    networks:
      - appflowy_net
    healthcheck:
      test: ["CMD", "redis-cli", "ping"]
      interval: 5s
      timeout: 5s
      retries: 5

networks:
  appflowy_net:
    driver: bridge

volumes:
  pg_data:
  redis_data:
  appflowy_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.