fix: use correct Coolify server UUID — was hardcoded '0' which doesn't exist
Made-with: Cursor
This commit is contained in:
@@ -128,7 +128,7 @@ export async function createApplication(opts: {
|
|||||||
const {
|
const {
|
||||||
projectUuid, name, gitRepo,
|
projectUuid, name, gitRepo,
|
||||||
gitBranch = 'main',
|
gitBranch = 'main',
|
||||||
serverUuid = '0',
|
serverUuid = process.env.COOLIFY_SERVER_UUID ?? 'jws4g4cgssss4cw48s488woc',
|
||||||
environmentName = 'production',
|
environmentName = 'production',
|
||||||
buildPack = 'nixpacks',
|
buildPack = 'nixpacks',
|
||||||
ports = '3000',
|
ports = '3000',
|
||||||
@@ -166,7 +166,7 @@ export async function createMonorepoAppService(opts: {
|
|||||||
projectUuid, appName, gitRepo,
|
projectUuid, appName, gitRepo,
|
||||||
gitBranch = 'main',
|
gitBranch = 'main',
|
||||||
domain,
|
domain,
|
||||||
serverUuid = '0',
|
serverUuid = process.env.COOLIFY_SERVER_UUID ?? 'jws4g4cgssss4cw48s488woc',
|
||||||
environmentName = 'production',
|
environmentName = 'production',
|
||||||
} = opts;
|
} = opts;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user