← Back to Guides
Profile image for Zek

By Zek

Published 4th August 2022

Deploy Trilium Notes on Northflank

Trilium Notes is a hierarchical note taking application with focus on building large personal knowledge bases. It can be run as a web application so you can edit and access your notes online.

This guide will show you how to easily deploy Trillium Notes on Northflank using their Docker image and a volume to store notes across restarts.

Create your Trilium notes service

Create a new deployment service and give it a name. Select external image as the deployment source and enter zadam/trilium:latest as the image path.

trilium_image.png

Create a runtime variable with TRILIUM_DATA_DIR as the key, and /home/node/trilium-data as the value.

trilium_env.png

Check the automatically detected networking settings. Your service should have a HTTP port on 8080 and “publicly expose this port to the internet” should be selected.

trilium_port.png

Under advanced, add a new volume with the container mount path /home/node/trilium-data

trilium_volume.png

Set up your Trilium Notes instance

Create the service and wait for the Trilium Notes instance to start up. You can then open the web interface by clicking on the link in the top right corner of your service.

On the initial setup page you will be asked if you want to sync with an existing desktop or server instance, or create a new Trilium document. If you don’t have an existing instance, select 'I’m a new user' and click next to create a password, otherwise follow the instructions for the other options to sync your current Trilium instance.

trilium_setup.png

Once you have set a password, you will be able to log in and start creating notes!

trilium_demo.png

If you encounter any issues while following this guide we're happy to assist you with your Trilium deployment at support@northflank.com. At Northflank we also have dedicated support plans for business customers.

Using Northflank to deploy a Trilium Notes instance

Northflank allows you to deploy your code and databases within minutes. Sign up for a Northflank account and create a free project to get started.

  • Connect with your preferred VCS: GitHub, GitLab or Bitbucket
  • Deployment of Docker containers
  • Scale vertically and horizontally with multiple replicas per service
  • Observe & monitor with real-time metrics & logs
  • Low latency and high performance
  • Multiple read and write replicas

Share this article with your network