From 9440fd89ae96f1c4be7b105ec0b839318291e3fe Mon Sep 17 00:00:00 2001 From: apk Date: Fri, 2 Aug 2024 08:29:53 +0300 Subject: [PATCH] fix(teable): round port for public database --- apps/dokploy/templates/teable/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dokploy/templates/teable/index.ts b/apps/dokploy/templates/teable/index.ts index 5446903ac..a4b9b7ed0 100644 --- a/apps/dokploy/templates/teable/index.ts +++ b/apps/dokploy/templates/teable/index.ts @@ -12,7 +12,7 @@ export function generate(schema: Schema): Template { const randomDomain = generateRandomDomain(schema); const publicDbPort = ((min: number, max: number) => { - return Math.random() * (max - min) + min; + return Math.round(Math.random() * (max - min) + min); })(32769, 65534); const envs = [