mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-17 04:59:30 +00:00
fix: do not cleanup compose applications as unconfigured
This commit is contained in:
@@ -122,6 +122,9 @@ export async function cleanupUnconfiguredApplications(request: FastifyRequest<an
|
|||||||
include: { settings: true, destinationDocker: true, teams: true }
|
include: { settings: true, destinationDocker: true, teams: true }
|
||||||
});
|
});
|
||||||
for (const application of applications) {
|
for (const application of applications) {
|
||||||
|
if (application?.buildPack === 'compose') {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (
|
if (
|
||||||
!application.buildPack ||
|
!application.buildPack ||
|
||||||
!application.destinationDockerId ||
|
!application.destinationDockerId ||
|
||||||
|
|||||||
@@ -1083,6 +1083,9 @@ export const applicationsRouter = router({
|
|||||||
include: { settings: true, destinationDocker: true, teams: true }
|
include: { settings: true, destinationDocker: true, teams: true }
|
||||||
});
|
});
|
||||||
for (const application of applications) {
|
for (const application of applications) {
|
||||||
|
if (application?.buildPack === 'compose') {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (
|
if (
|
||||||
!application.buildPack ||
|
!application.buildPack ||
|
||||||
!application.destinationDockerId ||
|
!application.destinationDockerId ||
|
||||||
|
|||||||
Reference in New Issue
Block a user