Back to all templates
TriliumNext logo

TriliumNext

Application256MB+ RAM

Hierarchical note-taking app with strong encryption and rich features

noteshierarchicalencryptedknowledge-base

Deploy TriliumNext in 3 Steps

1

Connect Your VPS

Add your server credentials to Server Compass

2

Select TriliumNext

Choose from our template library

3

Deploy & Configure

Fill in settings and click Deploy

No Docker knowledge required
Step-by-step deployment guide

Deploy TriliumNext on a VPS with Server Compass

Use the TriliumNext template in Server Compass to deploy a self-hosted hierarchical note-taking app on your VPS, then verify the TriliumNext web UI in a browser.

About 7 minutesBrowser verified
1
Step 1

Open the server Apps tab

Select your VPS, open the Apps tab, and start a new app deployment. Keep sensitive server details hidden before capturing or sharing screenshots.

Server Compass Apps tab before creating a TriliumNext app
2
Step 2

Choose an app template

Click New App and choose the template deployment path so Server Compass can load the built-in catalog.

Choosing to deploy an app from a Server Compass template
3
Step 3

Search for TriliumNext

Use the template picker search to find TriliumNext in the Server Compass template catalog.

Searching for TriliumNext in the Server Compass template picker
4
Step 4

Select the TriliumNext template

Choose the TriliumNext template. Server Compass fills the TriliumNext image, host port, persistent notes data volume.

TriliumNext template selected in Server Compass
5
Step 5

Review the TriliumNext settings

Confirm the app name and compose services. In this run, the app was named trilium-demo and used host port 8080.

Reviewing TriliumNext project settings and compose services
6
Step 6

Deploy TriliumNext

Review the generated environment values, confirm the port is available, and click Deploy Now.

Reviewing TriliumNext environment variables and port before deployment
7
Step 7

Watch the deployment progress

Keep the deployment modal open while Server Compass uploads the compose file, pulls the TriliumNext image, starts the container, and verifies the stack.

Server Compass deploying the TriliumNext template on the VPS
8
Step 8

Confirm TriliumNext is running

After deployment finishes, return to the Apps tab and confirm the TriliumNext app is marked Running with its application URL available.

TriliumNext template running in the Server Compass Apps tab
9
Step 9

Open TriliumNext in the browser

Open the application URL in a browser. The TriliumNext web UI confirms the site is reachable.

The deployed TriliumNext web UI loaded in a browser

After TriliumNext Opens

  • Set a strong TriliumNext password before production use.
  • Configure HTTPS, sync settings, and user access before production use.
  • Add a domain and HTTPS before exposing the notes workspace to users.
  • Back up the TriliumNext data volume before relying on it for production notes.

Verified Result

The TriliumNext web UI loaded successfully in a browser.

TriliumNext deployment questions

What does the TriliumNext template deploy?

It deploys TriliumNext with a persistent data volume for notes.

Which port did the tutorial use?

The tutorial used host port 8080, which maps to the TriliumNext web server on container port 80.

Why does the guide stop at the first-run web UI?

The tutorial verifies the clean first-run web UI because real note hierarchy, password, users, and access settings depend on the production server.

Should this become a blog post?

No. The deployment guide should live on the TriliumNext template detail page and be linked from the reusable template deployment docs page.

Why Self-Host TriliumNext?

TriliumNext is a hierarchical note-taking application with strong encryption, scripting capabilities, and a powerful note tree structure. Self-hosting ensures your encrypted knowledge base remains on your server while providing web access from anywhere.

Hierarchical note tree perfect for organizing complex knowledge
Strong encryption protects your notes at rest
Built-in scripting for automating note management
Web clipper for saving content from the browser
Relation maps and note attributes for structured data

TriliumNext vs Alternatives

TriliumNext vs Obsidian

Obsidian is file-based markdown. TriliumNext offers a richer hierarchical structure with built-in encryption and web access.

TriliumNext vs Joplin

Joplin is great for simple notes. TriliumNext excels at deep knowledge management with note relations and scripting.

TriliumNext vs Notion

Notion is cloud-hosted. TriliumNext runs on your server with encryption and far deeper customization through scripting.

Why Deploy TriliumNext with Server Compass?

Server Compass deploys TriliumNext with minimal resource usage (256MB RAM) and persistent encrypted storage. Perfect for a personal knowledge base on a small VPS.

Download Server Compass

After Deployment

After deploying TriliumNext with Server Compass, complete these steps to finish setup

1

Set up your password on first access

2

Create your note tree structure

3

Configure sync if using multiple devices

Need help? Check out our documentation for detailed guides.

TriliumNext FAQ

Common questions about self-hosting TriliumNext

How do I deploy TriliumNext with Server Compass?

Simply download Server Compass, connect to your VPS, and select TriliumNext from the templates list. Fill in the required configuration and click Deploy. The entire process takes under 3 minutes.

What are the system requirements for TriliumNext?

TriliumNext requires a minimum of 256MB RAM. We recommend a VPS with at least 1024MB RAM for optimal performance. Any modern Linux server with Docker support will work.

Can I migrate my existing TriliumNext data?

Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard TriliumNext backup and restore procedures.

How do I update TriliumNext to the latest version?

Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest TriliumNext image will be pulled and deployed with zero downtime.

Is TriliumNext free to self-host?

TriliumNext is open-source software. You only pay for your VPS hosting (typically $5-20/month) and optionally Server Compass ($29 one-time). No subscription fees or per-seat pricing.

Ready to Self-Host TriliumNext?

Download Server Compass and deploy TriliumNext to your VPS in under 3 minutes. No Docker expertise required.

Download Server Compass