diff --git a/apps/api/src/lib/buildPacks/common.ts b/apps/api/src/lib/buildPacks/common.ts index a8e9c737f..67c84c1d0 100644 --- a/apps/api/src/lib/buildPacks/common.ts +++ b/apps/api/src/lib/buildPacks/common.ts @@ -470,9 +470,9 @@ export const saveBuildLog = async ({ const addTimestamp = `[${generateTimestamp()}] ${line}`; const fluentBitUrl = isDev ? process.env.COOLIFY_CONTAINER_DEV === 'true' ? 'http://coolify-fluentbit:24224' : 'http://localhost:24224' : 'http://coolify-fluentbit:24224'; - if (isDev && !process.env.COOLIFY_CONTAINER_DEV) { + // if (isDev && !process.env.COOLIFY_CONTAINER_DEV) { console.debug(`[${applicationId}] ${addTimestamp}`); - } + // } try { return await got.post(`${fluentBitUrl}/${applicationId}_buildlog_${buildId}.csv`, { json: { diff --git a/apps/api/src/lib/buildPacks/compose.ts b/apps/api/src/lib/buildPacks/compose.ts index c8287f43e..e80a3f4e4 100644 --- a/apps/api/src/lib/buildPacks/compose.ts +++ b/apps/api/src/lib/buildPacks/compose.ts @@ -86,9 +86,11 @@ export default async function (data) { let [v, path, permission] = volume.split(':'); if (!path) { path = v; - v = `${applicationId}${v.replace(/\//gi, '-')}` + // v = `${applicationId}${v.replace(/\//gi, '-').replace(/\./gi, '')}` + v = `${applicationId}${v}` } else { - v = `${applicationId}-${v}` + // v = `${applicationId}${v.replace(/\//gi, '-').replace(/\./gi, '')}` + v = `${applicationId}${v}` } composeVolumes[v] = { name: v diff --git a/apps/api/src/lib/scheduler.ts b/apps/api/src/lib/scheduler.ts index 20add2b06..b1d173120 100644 --- a/apps/api/src/lib/scheduler.ts +++ b/apps/api/src/lib/scheduler.ts @@ -9,7 +9,7 @@ Bree.extend(TSBree); const options: any = { defaultExtension: 'js', - logger: new Cabin(), + logger: false, // logger: false, // workerMessageHandler: async ({ name, message }) => { // if (name === 'deployApplication' && message?.deploying) { diff --git a/apps/ui/src/routes/applications/[id]/storages.svelte b/apps/ui/src/routes/applications/[id]/storages.svelte index 8b4868c7d..192538401 100644 --- a/apps/ui/src/routes/applications/[id]/storages.svelte +++ b/apps/ui/src/routes/applications/[id]/storages.svelte @@ -37,9 +37,9 @@ let [volume, target] = volumeName.split(':'); if (!target) { target = volume; - volume = `${application.id}${volume.replace(/\//gi, '-')}`; + volume = `${application.id}${volume.replace(/\//gi, '-').replace(/\./gi, '')}`; } else { - volume = `${application.id}-${volume}`; + volume = `${application.id}${volume.replace(/\//gi, '-').replace(/\./gi, '')}`; } predefinedVolumes.push({ id: volume, path: target, predefined: true }); }