mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 22:15:35 +00:00
fix: remove networks when deleting a docker compose based app
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user