TriliumNext Notes
★ 39.1kA self-hosted alternative to Notion, Evernote, Onenote
About
Community Ratings
No ratings yetNew this week
Read recap →Features
- hierarchical note trees
- note cloning
- rich WYSIWYG editor
- code note editing
- full-text search
- note versioning
- attributes and scripting
- OpenID and TOTP login
- synchronization with self-hosted server
- REST API
Details
- Last Updated
- Nov 26, 2026
- Created
- May 23, 2017
- Install Methods
- binarypackage-managerflatpakdocker
- Requirements
- Chrome or Firefox for the browser-based interfaceA server installation for browser and mobile access
- Default Port
- 8080From the project's Compose file
- Authentication
- oidc-sso2fa
- API
- REST
- Backup & Export
- native-exportfile-backup
- Runtime / Stack
- NodejsDockerK8S
- Privacy & Independence
- Cloud: Optional
- User Model
- Multi-User
- Theming
- Dark modeCustom themes
- Deployment
Deployment: Docker Compose ✓Single Container — minimal hosting footprintsingle container
Run TriliumNext Notes yourself
Pick how much you want to manage.
Hostinger
One click
Hostinger template, runs in your own Hostinger account.
About 5 minutes to running
CoolifyBest match
One click on your server
Coolify template for your own server.
About 10 minutes if you run Coolify
netcup
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
5 more ways to host
HetznerA small server, then Docker Compose.(opens in a new tab)
DigitalOceanA small server, then Docker Compose.(opens in a new tab)
OVHcloudA small server, then Docker Compose.(opens in a new tab)
UmbrelInstall it from Umbrel on your home server.(opens in a new tab)
YunoHostInstall it from YunoHost on your home server.(opens in a new tab)
Some links earn us a commission. netcup pays us one and is our preferred VPS host. Hostinger is a paid sponsor and is listed first.
Is this your project? Sponsor a listing
Run TriliumNext Notes with Docker Compose
Compose file from the TriliumNext Notes project repository.
1 service
no resource limits declared
needs persistent storage (3 volumes)
docker-compose.yml · @ a70d6e3 · scanned Nov 3, 2026
# Running `docker-compose up` will create/use the "trilium-data" directory in the user home
# Run `TRILIUM_DATA_DIR=/path/of/your/choice docker-compose up` to set a different directory
# To run in the background, use `docker-compose up -d`
services:
trilium:
# Optionally, replace `latest` with a version tag like `v0.90.3`
# Using `latest` may cause unintended updates to the container
image: triliumnext/trilium:latest
# Restart the container unless it was stopped by the user
restart: unless-stopped
environment:
- TRILIUM_DATA_DIR=/home/node/trilium-data
ports:
# By default, Trilium will be available at http://localhost:8080
# It will also be accessible at http://<host-ip>:8080
# You might want to limit this with something like Docker Networks, reverse proxies, or firewall rules,
# however be aware that using UFW is known to not work with default Docker installations, see:
# https://docs.docker.com/engine/network/packet-filtering-firewalls/#docker-and-ufw
- '8080:8080'
volumes:
# Unless TRILIUM_DATA_DIR is set, the data will be stored in the "trilium-data" directory in the home directory.
# This can also be changed with by replacing the line below with `- /path/of/your/choice:/home/node/trilium-data
- ${TRILIUM_DATA_DIR:-~/trilium-data}:/home/node/trilium-data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
This file may be out of date. Check the TriliumNext Notes 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.