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
wip: trpc
Andras Bacsaic651570e6216
diff --git a/apps/server/src/jobs/applicationBuildQueue.ts b/apps/server/src/jobs/applicationBuildQueue.tsindex fd7bf076ab..92ddc3b849 100644--- a/apps/server/src/jobs/applicationBuildQueue.ts+++ b/apps/server/src/jobs/applicationBuildQueue.ts@@ -572,8 +572,7 @@ import { defaultComposeConfiguration } from '../lib/docker';deploymentType,forceRebuild});- }- if (buildpacks[buildPack])+ } else if (buildpacks[buildPack])await buildpacks[buildPack]({dockerId: destinationDocker.id,network: destinationDocker.network,diff --git a/apps/server/src/trpc/routers/applications/index.ts b/apps/server/src/trpc/routers/applications/index.tsindex bfa71d848a..939fceefe7 100644--- a/apps/server/src/trpc/routers/applications/index.ts+++ b/apps/server/src/trpc/routers/applications/index.ts@@ -76,7 +76,7 @@ export const applicationsRouter = router({} else {await prisma.application.deleteMany({ where: { id, teams: { some: { id: teamId } } } });}- return {}+ return {};}),restartPreview: privateProcedure.input(@@ -101,7 +101,7 @@ export const applicationsRouter = router({buildPack,exposePort} = application;-+let envs = [];if (secrets.length > 0) {envs = [...envs, ...generateSecrets(secrets, pullmergeRequestId, false, port)];@@ -136,7 +136,7 @@ export const applicationsRouter = router({if (!imageFound) {throw { status: 500, message: 'Image not found, cannot restart application.' };}-+const volumes =persistentStorage?.map((storage) => {return `${applicationId}${storage.path.replace(/\//gi, '-')}:${@@ -1321,8 +1321,8 @@ export const applicationsRouter = router({z.object({id: z.string(),forceRebuild: z.boolean().default(false),- pullmergeRequestId: z.string().nullable(),- branch: z.string().nullable()+ pullmergeRequestId: z.string().nullable().optional(),+ branch: z.string().nullable().optional()})).mutation(async ({ ctx, input }) => {