mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-22 03:48:46 +00:00
fix(teable): round port for public database
This commit is contained in:
@@ -12,7 +12,7 @@ export function generate(schema: Schema): Template {
|
|||||||
const randomDomain = generateRandomDomain(schema);
|
const randomDomain = generateRandomDomain(schema);
|
||||||
|
|
||||||
const publicDbPort = ((min: number, max: number) => {
|
const publicDbPort = ((min: number, max: number) => {
|
||||||
return Math.random() * (max - min) + min;
|
return Math.round(Math.random() * (max - min) + min);
|
||||||
})(32769, 65534);
|
})(32769, 65534);
|
||||||
|
|
||||||
const envs = [
|
const envs = [
|
||||||
|
|||||||
Reference in New Issue
Block a user