Levelrail
Skip to content

Self-host TriliumNext Notes with Docker ​

A hierarchical, self-hosted note-taking application built for large personal knowledge bases.

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

Project site: https://triliumnext.github.io/Docs/.

Recommended memory: about 256 MiB.

Services, ports and volumes ​

ServiceImageContainer portsVolumes
triliumghcr.io/triliumnext/trilium:stable8080
trilium_data -> /home/node/trilium-data

Environment variables ​

This template sets no environment variables.

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 Notes with Levelrail ​

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

With the CLI:

levelrail-cli templates deploy trilium --name my-trilium

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.