To Reproduce
- Deploy a Compose service (non-stack type) — confirmed with
composeType: "compose"
- Navigate to the service → Settings → Delete
- Type the confirmation name
- Check "Delete volumes associated with this compose"
- Click Confirm
Current vs. Expected behavior
Expected behavior
docker compose down is executed
- All containers are stopped and removed
- All associated volumes are removed
Actual behavior
- Dokploy internal entry deleted (
/etc/dokploy/compose/<id> removed)
- Containers continue running
- Volumes remain
Provide environment information
Operating System:
OS: Ubuntu 24.04.4 LTS
Arch: x86_64
Dokploy version: v0.28.8
VPS Provider: Hetzner
What applications/services are you trying to deploy?
Docker Compose service (composeType: "compose"), multi-container stack
(Caddy, Directus, PostgreSQL/PostGIS, Redis, Astro, analytics, backup, sync)
Which area(s) are affected? (Select all that apply)
Application, Docker Compose, Docker
Are you deploying the applications where Dokploy is installed or on a remote server?
Same server where Dokploy is installed
Additional context
Notes
Related to #3691 / PR #3692 which fixed the same class of bug for composeType: "stack". This issue appears to affect the composeType: "compose" code path which was not covered by that fix. Issue #433 was marked fixed but is reproducible in v0.28.8.
The Compose service was running (not manually stopped) at the time of deletion. This may or may not be a contributing factor. However, the expected behavior is that Dokploy either (a) requires the user to stop the service before deletion, or (b) stops it automatically as part of the delete operation. Currently neither happens — the UI allows deletion of a running service without stopping it, and the backend does not stop it either.
Will you send a PR to fix it?
Maybe, need help
To Reproduce
composeType: "compose"Current vs. Expected behavior
Expected behavior
docker compose downis executedActual behavior
/etc/dokploy/compose/<id>removed)Provide environment information
Which area(s) are affected? (Select all that apply)
Application, Docker Compose, Docker
Are you deploying the applications where Dokploy is installed or on a remote server?
Same server where Dokploy is installed
Additional context
Notes
Related to #3691 / PR #3692 which fixed the same class of bug for
composeType: "stack". This issue appears to affect thecomposeType: "compose"code path which was not covered by that fix. Issue #433 was marked fixed but is reproducible in v0.28.8.The Compose service was running (not manually stopped) at the time of deletion. This may or may not be a contributing factor. However, the expected behavior is that Dokploy either (a) requires the user to stop the service before deletion, or (b) stops it automatically as part of the delete operation. Currently neither happens — the UI allows deletion of a running service without stopping it, and the backend does not stop it either.
Will you send a PR to fix it?
Maybe, need help