From 8f0305af8d108027a496a8540d819e92e0aada7f Mon Sep 17 00:00:00 2001 From: jbello Date: Wed, 21 Jan 2026 16:21:38 -0400 Subject: [PATCH 1/4] feat/add trilium next template --- blueprints/trilium-next/docker-compose.yml | 23 +++++++++++++++++++ blueprints/trilium-next/template.toml | 13 +++++++++++ blueprints/trilium-next/trilium-next-logo.svg | 2 ++ meta.json | 17 ++++++++++++++ 4 files changed, 55 insertions(+) create mode 100755 blueprints/trilium-next/docker-compose.yml create mode 100755 blueprints/trilium-next/template.toml create mode 100644 blueprints/trilium-next/trilium-next-logo.svg diff --git a/blueprints/trilium-next/docker-compose.yml b/blueprints/trilium-next/docker-compose.yml new file mode 100755 index 000000000..7c0d41f73 --- /dev/null +++ b/blueprints/trilium-next/docker-compose.yml @@ -0,0 +1,23 @@ +# Running `docker-compose up` will create/use the "trilium-data" directory in the user home +services: + trilium: + # Optionally, replace `latest` with a version tag like `v0.110.3` + # Using `latest` may cause unintended updates to the container + image: triliumnext/trilium:latest + # Restart the container unless it was stopped by the user + restart: unless-stopped + environment: + - TRILIUM_DATA_DIR=/home/node/trilium-data + ports: + # By default, Trilium will be available at http://localhost:8080 + # It will also be accessible at http://:8080 + # You might want to limit this with something like Docker Networks, reverse proxies, or firewall rules, + # however be aware that using UFW is known to not work with default Docker installations, see: + # https://docs.docker.com/engine/network/packet-filtering-firewalls/#docker-and-ufw + - "8080:8080" + volumes: + # Unless TRILIUM_DATA_DIR is set, the data will be stored in the "trilium-data" directory in the home directory. + # This can also be changed with by replacing the line below with `- /path/of/your/choice:/home/node/trilium-data + - ${TRILIUM_DATA_DIR:-~/trilium-data}:/home/node/trilium-data + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro diff --git a/blueprints/trilium-next/template.toml b/blueprints/trilium-next/template.toml new file mode 100755 index 000000000..0292bb689 --- /dev/null +++ b/blueprints/trilium-next/template.toml @@ -0,0 +1,13 @@ +[variables] +main_domain = "${domain}" + +[config] +env = [ +"TRILIUM_DATA_DIR=/root" +] +mount = [] + +[[config.domains]] +serviceName = "trilium_next" +port = 8080 +host = "${main_domain}" diff --git a/blueprints/trilium-next/trilium-next-logo.svg b/blueprints/trilium-next/trilium-next-logo.svg new file mode 100644 index 000000000..79f47a826 --- /dev/null +++ b/blueprints/trilium-next/trilium-next-logo.svg @@ -0,0 +1,2 @@ + +Trilium Notes \ No newline at end of file diff --git a/meta.json b/meta.json index ffff0e0ba..4109fe0b4 100644 --- a/meta.json +++ b/meta.json @@ -6345,5 +6345,22 @@ "saml", "multi-tenant" ] + }, + { + "id": "trilium-next", + "name": "TriliumNext", + "version": "latest", + "description": "Is a free and open-source, cross-platform hierarchical note taking application with focus on building large personal knowledge bases.", + "logo": "trilium-next-logo.svg", + "links": { + "github": "https://github.com/TriliumNext/Trilium", + "website": "https://triliumnotes.org/", + "docs": "https://docs.triliumnotes.org/" + }, + "tags": [ + "self-hosted", + "productivity", + "personal-use" + ] } ] From 0af84d4eaa09214a149bf96aa1dbafd4b0a8e1a9 Mon Sep 17 00:00:00 2001 From: jbello Date: Wed, 21 Jan 2026 16:50:43 -0400 Subject: [PATCH 2/4] fix: test verify to pr --- blueprints/trilium-next/docker-compose.yml | 2 +- meta.json | 34 +++++++++++----------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/blueprints/trilium-next/docker-compose.yml b/blueprints/trilium-next/docker-compose.yml index 7c0d41f73..a1a89dafa 100755 --- a/blueprints/trilium-next/docker-compose.yml +++ b/blueprints/trilium-next/docker-compose.yml @@ -14,7 +14,7 @@ services: # You might want to limit this with something like Docker Networks, reverse proxies, or firewall rules, # however be aware that using UFW is known to not work with default Docker installations, see: # https://docs.docker.com/engine/network/packet-filtering-firewalls/#docker-and-ufw - - "8080:8080" + - "8080" volumes: # Unless TRILIUM_DATA_DIR is set, the data will be stored in the "trilium-data" directory in the home directory. # This can also be changed with by replacing the line below with `- /path/of/your/choice:/home/node/trilium-data diff --git a/meta.json b/meta.json index 4109fe0b4..57f7cf73a 100644 --- a/meta.json +++ b/meta.json @@ -5849,6 +5849,23 @@ "personal-use" ] }, + { + "id": "trilium-next", + "name": "TriliumNext", + "version": "latest", + "description": "Is a free and open-source, cross-platform hierarchical note taking application with focus on building large personal knowledge bases.", + "logo": "trilium-next-logo.svg", + "links": { + "github": "https://github.com/TriliumNext/Trilium", + "website": "https://triliumnotes.org/", + "docs": "https://docs.triliumnotes.org/" + }, + "tags": [ + "self-hosted", + "productivity", + "personal-use" + ] + }, { "id": "trmnl-byos-laravel", "name": "TRMNL BYOS Laravel", @@ -6345,22 +6362,5 @@ "saml", "multi-tenant" ] - }, - { - "id": "trilium-next", - "name": "TriliumNext", - "version": "latest", - "description": "Is a free and open-source, cross-platform hierarchical note taking application with focus on building large personal knowledge bases.", - "logo": "trilium-next-logo.svg", - "links": { - "github": "https://github.com/TriliumNext/Trilium", - "website": "https://triliumnotes.org/", - "docs": "https://docs.triliumnotes.org/" - }, - "tags": [ - "self-hosted", - "productivity", - "personal-use" - ] } ] From 2a2d2fac5c4ff7a8b52696d1e303e5647d572537 Mon Sep 17 00:00:00 2001 From: jbello Date: Wed, 21 Jan 2026 17:08:31 -0400 Subject: [PATCH 3/4] fix: fix validation error in docker-compose --- blueprints/trilium-next/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blueprints/trilium-next/docker-compose.yml b/blueprints/trilium-next/docker-compose.yml index a1a89dafa..bdc1ce09a 100755 --- a/blueprints/trilium-next/docker-compose.yml +++ b/blueprints/trilium-next/docker-compose.yml @@ -1,6 +1,6 @@ # Running `docker-compose up` will create/use the "trilium-data" directory in the user home services: - trilium: + trilium_next: # Optionally, replace `latest` with a version tag like `v0.110.3` # Using `latest` may cause unintended updates to the container image: triliumnext/trilium:latest From 6d682ab5e5e470a7bcca039a83a24f5b3b7c9c8d Mon Sep 17 00:00:00 2001 From: Jose F ThinkPad Date: Sun, 1 Feb 2026 14:21:06 -0400 Subject: [PATCH 4/4] fix: static version to trilium image --- blueprints/trilium-next/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blueprints/trilium-next/docker-compose.yml b/blueprints/trilium-next/docker-compose.yml index bdc1ce09a..6ffc82a51 100755 --- a/blueprints/trilium-next/docker-compose.yml +++ b/blueprints/trilium-next/docker-compose.yml @@ -3,7 +3,7 @@ services: trilium_next: # Optionally, replace `latest` with a version tag like `v0.110.3` # Using `latest` may cause unintended updates to the container - image: triliumnext/trilium:latest + image: triliumnext/trilium:v0.101.3 # Restart the container unless it was stopped by the user restart: unless-stopped environment: