Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix

Andras Bacsai18ed2527e897
diff --git a/apps/api/src/lib/buildPacks/compose.ts b/apps/api/src/lib/buildPacks/compose.ts
index aef9e34359..f0f966ddbb 100644
--- a/apps/api/src/lib/buildPacks/compose.ts
+++ b/apps/api/src/lib/buildPacks/compose.ts
@@ -66,10 +66,12 @@ export default async function (data) {
}
}
}
+ if (build.length > 0 || buildArgs.length > 0 ) {
value['build'] = {
...build,
args: finalArgs
};
+ }
value['labels'] = labels;
// TODO: If we support separated volume for each service, we need to add it here
@@ -116,7 +118,6 @@ export default async function (data) {
dockerComposeYaml['networks'] = Object.assign({ ...networks }, { [network]: { external: true } });
await fs.writeFile(fileYaml, yaml.dump(dockerComposeYaml));
- console.log(yaml.dump(dockerComposeYaml));
await executeCommand({
debug,
buildId,
diff --git a/apps/api/src/lib/common.ts b/apps/api/src/lib/common.ts
index 1bfc1ac8c1..bfa188c949 100644
--- a/apps/api/src/lib/common.ts
+++ b/apps/api/src/lib/common.ts
@@ -19,7 +19,7 @@ import { saveBuildLog, saveDockerRegistryCredentials } from './buildPacks/common
import { scheduler } from './scheduler';
import type { ExecaChildProcess } from 'execa';
-export const version = '3.12.16';
+export const version = '3.12.17';
export const isDev = process.env.NODE_ENV === 'development';
export const sentryDSN =
'https://[email protected]/4504236622217216';
diff --git a/package.json b/package.json
index fb7066cb9a..03fe748498 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "coolify",
"description": "An open-source & self-hostable Heroku / Netlify alternative.",
- "version": "3.12.16",
+ "version": "3.12.17",
"license": "Apache-2.0",
"repository": "github:coollabsio/coolify",
"scripts": {