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.

fixes

Andras Bacsai59086e9eb4f6
diff --git a/src/lib/haproxy/index.ts b/src/lib/haproxy/index.ts
index 5af082efea..dcd2d054d8 100644
--- a/src/lib/haproxy/index.ts
+++ b/src/lib/haproxy/index.ts
@@ -166,13 +166,17 @@ export async function startTraefikTCPProxy(
ports: [`${publicPort}:${publicPort}`],
extra_hosts: ['host.docker.internal:host-gateway', `host.docker.internal:${ip}`],
volumes: ['/var/run/docker.sock:/var/run/docker.sock'],
- networks: [network]
+ networks: ['coolify-infra', network]
}
},
networks: {
[network]: {
external: false,
name: network
+ },
+ 'coolify-infra': {
+ external: false,
+ name: 'coolify-infra'
}
}
};
@@ -262,13 +266,17 @@ export async function startTraefikHTTPProxy(
ports: [`${publicPort}:${publicPort}`],
extra_hosts: ['host.docker.internal:host-gateway', `host.docker.internal:${ip}`],
volumes: ['/var/run/docker.sock:/var/run/docker.sock'],
- networks: [network]
+ networks: ['coolify-infra', network]
}
},
networks: {
[network]: {
external: false,
name: network
+ },
+ 'coolify-infra': {
+ external: false,
+ name: 'coolify-infra'
}
}
};
diff --git a/src/routes/update.json.ts b/src/routes/update.json.ts
index 429030db10..ef5f0920b9 100644
--- a/src/routes/update.json.ts
+++ b/src/routes/update.json.ts
@@ -6,12 +6,7 @@ import * as db from '$lib/database';
import type { RequestHandler } from '@sveltejs/kit';
import compare from 'compare-versions';
import got from 'got';
-import {
- checkContainer,
- configureNetworkTraefikProxy,
- startCoolifyProxy,
- startTraefikProxy
-} from '$lib/haproxy';
+import { checkContainer, startCoolifyProxy, startTraefikProxy } from '$lib/haproxy';
export const get: RequestHandler = async (request) => {
try {