diff --git a/blueprints/trilium-next/docker-compose.yml b/blueprints/trilium-next/docker-compose.yml new file mode 100755 index 000000000..6ffc82a51 --- /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_next: + # Optionally, replace `latest` with a version tag like `v0.110.3` + # Using `latest` may cause unintended updates to the container + image: triliumnext/trilium:v0.101.3 + # 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" + 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 12173567a..542e34439 100644 --- a/meta.json +++ b/meta.json @@ -6011,6 +6011,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",