LeafWiki
★ 1.2kA self-hosted alternative to Notion
About
Community Ratings
No ratings yetNew this week
Read recap →Features
- tree navigation
- manual page ordering
- full-text search
- tag filtering
- backlinks
- Markdown editor with live preview
- keyboard shortcuts
- autocomplete for internal links
- optimistic locking
- revision history
Details
- Last Updated
- Nov 9, 2026
- Created
- Mar 25, 2025
- Install Methods
- dockerdocker-composebinarysource
- Requirements
- SQLiteGoReact (Vite)Node.jsnginx
- Default Port
- 8080web UI
- Authentication
- localproxy-auth
- API
- REST
- Backup & Export
- file-backupgit-backup
- Runtime / Stack
- DockerGo
- Privacy & Independence
- Cloud: OptionalOffline Capable
- User Model
- Multi-User
- Theming
- Dark modeCustom themes
- Deployment
Deployment: Docker Compose ✓2 Containers — light hosting footprintRuns as 2 containers
Run LeafWiki yourself
Pick how much you want to manage.
netcupBest match
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
Hetzner
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
DigitalOcean
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
3 more ways to host
Some links earn us a commission. netcup pays us one and is our preferred VPS host.
Is this your project? Sponsor a listing
Run LeafWiki with Docker Compose
Compose file from the LeafWiki project repository.
2 services · infra: nginx
no resource limits declared
needs persistent storage (1 volume)
e2e-proxy/docker-compose.yml · @ 3cc5ee8 · scanned Nov 3, 2026
services:
leafwiki:
build:
context: ..
dockerfile: Dockerfile
args:
DISABLE_REFRESH_TOKEN_RATE_LIMIT: "true"
command:
- "--jwt-secret=proxy-e2e-secret"
- "--admin-password=admin"
- "--allow-insecure=true"
- "--enable-http-remote-user=true"
# Trust the entire proxy-net subnet so nginx can forward headers.
- "--trusted-proxy-ips=172.30.0.0/16"
networks:
proxy-net:
ipv4_address: 172.30.0.2
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:8080/api/config"]
interval: 2s
timeout: 5s
retries: 30
nginx:
image: nginx:1.27-alpine
volumes:
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf:ro
ports:
- "8095:80"
depends_on:
leafwiki:
condition: service_healthy
networks:
proxy-net:
ipv4_address: 172.30.0.3
networks:
proxy-net:
driver: bridge
ipam:
config:
- subnet: 172.30.0.0/16
This file may be out of date. Check the LeafWiki documentation for current setup steps.
Tags
Track your self-hosted stack
Bookmark software to try, rate tools you've used, and keep your collection in one place.