mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
fix(teable): round port for public database
This commit is contained in:
parent
bce1eb8907
commit
9440fd89ae
@ -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 = [
|
||||||
|
Loading…
Reference in New Issue
Block a user