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.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: exposedPort is just optional
Andras Bacsaif040c7c7422f
diff --git a/apps/api/src/lib/common.ts b/apps/api/src/lib/common.tsindex 50e41a1fd5..4250e81880 100644--- a/apps/api/src/lib/common.ts+++ b/apps/api/src/lib/common.ts@@ -17,7 +17,7 @@ import { checkContainer, removeContainer } from './docker';import { day } from './dayjs';import * as serviceFields from './serviceFields'-export const version = '3.6.0';+export const version = '3.6.1';export const isDev = process.env.NODE_ENV === 'development';const algorithm = 'aes-256-ctr';diff --git a/apps/api/src/routes/api/v1/applications/handlers.ts b/apps/api/src/routes/api/v1/applications/handlers.tsindex 57da914789..65932ea2b4 100644--- a/apps/api/src/routes/api/v1/applications/handlers.ts+++ b/apps/api/src/routes/api/v1/applications/handlers.ts@@ -395,7 +395,7 @@ export async function checkDNS(request: FastifyRequest<CheckDNS>) {if (found) {throw { status: 500, message: `Domain ${getDomain(fqdn).replace('www.', '')} is already in use!` }}- await checkExposedPort({ id, configuredPort, exposePort, dockerId, remoteIpAddress })+ if (exposePort) await checkExposedPort({ id, configuredPort, exposePort, dockerId, remoteIpAddress })if (isDNSCheckEnabled && !isDev && !forceSave) {let hostname = request.hostname.split(':')[0];if (remoteEngine) hostname = remoteIpAddress;diff --git a/apps/api/src/routes/api/v1/services/handlers.ts b/apps/api/src/routes/api/v1/services/handlers.tsindex 6301a61d70..d5746cf6c7 100644--- a/apps/api/src/routes/api/v1/services/handlers.ts+++ b/apps/api/src/routes/api/v1/services/handlers.ts@@ -378,7 +378,7 @@ export async function checkService(request: FastifyRequest<CheckService>) {}}}- await checkExposedPort({ id, configuredPort, exposePort, dockerId, remoteIpAddress })+ if (exposePort) await checkExposedPort({ id, configuredPort, exposePort, dockerId, remoteIpAddress })if (isDNSCheckEnabled && !isDev && !forceSave) {let hostname = request.hostname.split(':')[0];if (remoteEngine) hostname = remoteIpAddress;diff --git a/package.json b/package.jsonindex 2288f4c4f3..f32f2d158f 100644--- a/package.json+++ b/package.json@@ -1,7 +1,7 @@{"name": "coolify","description": "An open-source & self-hostable Heroku / Netlify alternative.",- "version": "3.6.0",+ "version": "3.6.1","license": "Apache-2.0","repository": "github:coollabsio/coolify","scripts": {