Enhance compose removal process by adding network disconnection command

- Updated the `removeCompose` function to include a command for disconnecting the Docker network before removing the stack or compose application, improving cleanup reliability.
- Removed unnecessary console logging in the `getServiceImageDigest` function to streamline output and enhance code clarity.
This commit is contained in:
Mauricio Siu
2025-05-04 16:50:03 -06:00
parent 9948dd7f19
commit eb5ba2f219
2 changed files with 8 additions and 9 deletions

View File

@@ -40,8 +40,6 @@ export const getServiceImageDigest = async () => {
"docker service inspect dokploy --format '{{.Spec.TaskTemplate.ContainerSpec.Image}}'",
);
console.log("stdout", stdout);
const currentDigest = stdout.trim().split("@")[1];
if (!currentDigest) {