MirrorNest
← All guides

Trilium Notes

A hierarchical, note-taking application built for building a large personal knowledge base, with scripting, encryption, and a server mode for syncing across devices.

Target: Any Docker hostProductivityNotesOfficial homepage ↗Official docs ↗
This guide is synthesized from Trilium Notes's own official documentation, linked above — always cross-check exact package/version names there before running these commands on a production server, since distro and project versions move over time.
  1. 1Download the official compose file

    wget https://raw.githubusercontent.com/TriliumNext/Trilium/master/docker-compose.yml
  2. 2Start the server

    docker compose up -d

    Data is stored at ~/trilium-data by default and the app listens on port 8080.

  3. 3Docker CLI alternative

    You can run it directly instead of using Compose — pin an explicit version tag rather than :latest, since latest can auto-upgrade across minor versions and break sync.

    docker run -d -p 0.0.0.0:8080:8080 -v ~/trilium-data:/home/node/trilium-data triliumnext/trilium:v0.91.6
  4. 4Finish setup

    The browser UI walks you through initial configuration on first launch.

    open http://127.0.0.1:8080