We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f5635f6 + 343a84d commit f656e62Copy full SHA for f656e62
packages/server/src/services/compose.ts
@@ -395,16 +395,14 @@ export const removeCompose = async (
395
if (compose.composeType === "stack") {
396
const command = `
397
docker network disconnect ${compose.appName} dokploy-traefik;
398
- cd ${projectPath} && docker stack rm ${compose.appName} && rm -rf ${projectPath}`;
+ docker stack rm ${compose.appName};
399
+ rm -rf ${projectPath}`;
400
401
if (compose.serverId) {
402
await execAsyncRemote(compose.serverId, command);
403
} else {
404
await execAsync(command);
405
}
- await execAsync(command, {
406
- cwd: projectPath,
407
- });
408
409
410
0 commit comments