fix: use correct Coolify server UUID — was hardcoded '0' which doesn't exist

Made-with: Cursor
This commit is contained in:
2026-03-09 17:52:58 -07:00
parent 0e204ced89
commit 3e9bf7c0e0

View File

@@ -128,7 +128,7 @@ export async function createApplication(opts: {
const {
projectUuid, name, gitRepo,
gitBranch = 'main',
serverUuid = '0',
serverUuid = process.env.COOLIFY_SERVER_UUID ?? 'jws4g4cgssss4cw48s488woc',
environmentName = 'production',
buildPack = 'nixpacks',
ports = '3000',
@@ -166,7 +166,7 @@ export async function createMonorepoAppService(opts: {
projectUuid, appName, gitRepo,
gitBranch = 'main',
domain,
serverUuid = '0',
serverUuid = process.env.COOLIFY_SERVER_UUID ?? 'jws4g4cgssss4cw48s488woc',
environmentName = 'production',
} = opts;