fix: remove networks when deleting a docker compose based app

This commit is contained in:
Andras Bacsai committed 2024-07-11 10:16:56 +02:00
1 parent 6b08100819
commit b37dc4c73e
3 files changed
+39 -10

No files matched your search

@@ -38,6 +38,11 @@ class StopApplication
}
}
}
if ($application->build_pack === 'dockercompose') {
$uuid = $application->uuid;
instant_remote_process(["docker network disconnect {$uuid} coolify-proxy"], $server);
instant_remote_process(["docker network rm {$uuid}"], $server);
}
}
}
}