LibreKB
★ 63A self-hosted alternative to Notion
About
Community Ratings
No ratings yetNew this week
Read recap →Features
- user groups
- article editing with TinyMCE
- password resets via email
- custom branding
- responsive design
Details
- Last Updated
- Nov 6, 2026
- Created
- May 6, 2024
- Install Methods
- dockersource
- Requirements
- PHPMySQL
- Default Port
- 8080From the project's Compose file
- Runtime / Stack
- PHP
- Privacy & Independence
- No TelemetryNo Cloud Required
- User Model
- Multi-User
- Deployment
Deployment: Docker Compose ✓2 Containers — light hosting footprintRuns as 2 containers
Run LibreKB 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
1 more way 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 LibreKB with Docker Compose
Compose file from the LibreKB project repository.
2 services · database: mysql · infra: mysql
no resource limits declared
needs persistent storage (2 volumes)
docker-compose.yml · @ 1bc6dfc · scanned Nov 3, 2026
services:
app:
build: .
container_name: librekb-app
ports:
- "${APP_PORT:-8080}:80"
volumes:
- .:/var/www/html
depends_on:
- db
restart: unless-stopped
db:
image: mysql:8.0
container_name: librekb-db
environment:
- MYSQL_ROOT_PASSWORD=${DB_ROOT_PASS:-rootsecret}
- MYSQL_DATABASE=${DB_NAME:-librekb}
- MYSQL_USER=${DB_USER:-librekb}
- MYSQL_PASSWORD=${DB_PASS:-secret}
volumes:
- librekb-db-data:/var/lib/mysql
restart: unless-stopped
volumes:
librekb-db-data:
This file may be out of date. Check the LibreKB documentation for current setup steps.
Track your self-hosted stack
Bookmark software to try, rate tools you've used, and keep your collection in one place.