Levelrail
Skip to content

Self-host TriliumNext with Docker ​

A hierarchical, self-hosted notebook for building a personal knowledge base, with full-text search.

This page describes the Levelrail template for TriliumNext (Productivity). It deploys the services below as one Docker Compose app on your own server.

Project site: https://github.com/TriliumNext/Trilium.

Recommended memory: about 256 MiB.

Services, ports and volumes ​

ServiceImageContainer portsVolumes
triliumnextghcr.io/triliumnext/trilium:stable8080
triliumnext_data -> /home/node/trilium-data

Environment variables ​

ServiceVariableValue
triliumnextTZPreset in the template

Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.

Deploy TriliumNext with Levelrail ​

In the dashboard, open Apps, choose New app, then Browse templates, and select TriliumNext. Review the Compose body and deploy.

With the CLI:

levelrail-cli templates deploy triliumnext --name my-triliumnext

See Service template catalog for how templates work, and Getting started if you have not installed Levelrail yet.

More Productivity templates ​

All templates are listed in the self-host gallery.

Released under the Apache 2.0 License.