Self-Host Affine with Docker Compose
AFFiNE is a next-generation collaborative knowledge base for your tasks, wikis, and mind maps. Seamlessly switches between linear document writing and infinite whiteboard canvas.
Minimum Hardware Requirements
version: '3.8'
services:
affine:
image: ghcr.io/toeverything/affine:stable
container_name: affine
restart: unless-stopped
ports:
- "3010:3010"
environment:
- NODE_ENV=production
- TZ=UTC
volumes:
- affine_data:/data
volumes:
affine_data:
driver: local
docker-compose.yml and run:
docker compose up -d
VPS RAM & Server Sizing Calculator
Planning to run Affine alone or alongside other self-hosted containers on one VPS? Toggle apps to calculate your exact RAM needs with a 25% safety buffer.
Matched Cloud VPS Tiers for Selected Workload:
Replaces Notion
All-in-one workspace storing proprietary team notes, wikis, and databases on central US servers.
More Productivity Apps View All →
Compare Affine
Benchmark specs head-to-head with other open-source alternatives
Compare Affine Side-by-Side
Select any open-source tool from the dropdown to run a hardware, memory, and popularity benchmark against Affine.