From 6ea2a82bb085accf1b3f357a501d34a0ad23a8a5 Mon Sep 17 00:00:00 2001 From: Jefferson Carlos <31220819+jeffersoncbd@users.noreply.github.com> Date: Thu, 13 Feb 2025 00:21:23 -0300 Subject: [PATCH] Create index.ts for Trilium app --- apps/dokploy/templates/trilium/index.ts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 apps/dokploy/templates/trilium/index.ts diff --git a/apps/dokploy/templates/trilium/index.ts b/apps/dokploy/templates/trilium/index.ts new file mode 100644 index 000000000..acac98413 --- /dev/null +++ b/apps/dokploy/templates/trilium/index.ts @@ -0,0 +1,22 @@ +import { + type DomainSchema, + type Schema, + type Template, + generateRandomDomain, +} from "../utils"; + +export function generate(schema: Schema): Template { + const triliumDomain = generateRandomDomain(schema); + + const domains: DomainSchema[] = [ + { + host: triliumDomain, + port: 8080, + serviceName: "trilium", + }, + ]; + + return { + domains, + }; +}