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: compose webhooks fixed

Andras Bacsai4955157e13d8
diff --git a/apps/api/src/lib/common.ts b/apps/api/src/lib/common.ts
index d0e296ce61..ff212a8439 100644
--- a/apps/api/src/lib/common.ts
+++ b/apps/api/src/lib/common.ts
@@ -17,7 +17,7 @@ import { day } from './dayjs';
import { saveBuildLog } from './buildPacks/common';
import { scheduler } from './scheduler';
-export const version = '3.11.2';
+export const version = '3.11.3';
export const isDev = process.env.NODE_ENV === 'development';
const algorithm = 'aes-256-ctr';
diff --git a/apps/api/src/routes/webhooks/traefik/handlers.ts b/apps/api/src/routes/webhooks/traefik/handlers.ts
index e9691344de..f1f7e42c4b 100644
--- a/apps/api/src/routes/webhooks/traefik/handlers.ts
+++ b/apps/api/src/routes/webhooks/traefik/handlers.ts
@@ -287,11 +287,10 @@ export async function proxyConfiguration(request: FastifyRequest<OnlyId>, remote
if (
!runningContainers[destinationDockerId] ||
runningContainers[destinationDockerId].length === 0 ||
- !runningContainers[destinationDockerId].includes(id)
+ runningContainers[destinationDockerId].filter((container) => container.startsWith(id)).length === 0
) {
continue
}
-
if (buildPack === 'compose') {
const services = Object.entries(JSON.parse(dockerComposeConfiguration))
if (services.length > 0) {
diff --git a/package.json b/package.json
index 1f7a604acd..64c5df61cd 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "coolify",
"description": "An open-source & self-hostable Heroku / Netlify alternative.",
- "version": "3.11.2",
+ "version": "3.11.3",
"license": "Apache-2.0",
"repository": "github:coollabsio/coolify",
"scripts": {