feat(compose): show docker-compose named volumes as read-only in Advanced → Volumes
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 37.4k
- Forks
- 3k
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 73
Description
What problem will this feature address?
For Docker Compose apps, Dokploy supports named volumes in docker-compose.yml, but the Advanced → Volumes screen shows No volumes/mounts configured and Add Volume opens a modal with only File Mount available.
That makes it look like the app has no persistent storage configured even when runtime mounts exist and Dokploy is actively using them. In practice, this makes the UI hard to trust as an operational source of truth for Compose services.
I understand from issue #866 and closed PR #3344 that the maintainers do not want a second UI path that edits Compose volumes directly, because the YAML should remain the declarative source of truth. I agree with that constraint.
The missing piece is read-only visibility: operators still need a simple place in Dokploy to confirm which named volumes are attached to a Compose app without having to jump to the raw YAML, container inspect output, or backup flows.
Describe the solution you'd like
Please show Docker Compose named volumes in Advanced → Volumes as a read-only inventory, sourced from the compose file and/or resolved runtime mounts.
Important constraints:
- Keep
docker-compose.ymlas the only editable source of truth - Do not add create/update/delete controls for Compose named volumes in that screen
- Clearly label these rows as something like
Compose-definedorRead only - If useful, also display the resolved Docker volume name (for example
{appName}_{volumeName}) and mount path
This would preserve the declarative Compose model while making the Dokploy UI trustworthy for day-2 operations.
Describe alternatives you've considered
Current workarounds are:
- Open the raw
docker-compose.ymland inspect thevolumes:section manually - Check Containers → View Mounts to inspect live runtime mounts
- Use Volume Backups flows, which can also discover Compose volumes indirectly
- SSH into the server and run
docker inspect/docker volume ls
Those work, but they scatter the information across multiple places and make the main Volumes screen misleading for Compose apps. A read-only inventory in the existing screen would solve that without violating the maintainers' declarative-model concerns from PR #3344.
Additional context
Observed on Dokploy v0.29.8.
Repro:
- Deploy a Docker Compose app with named volumes, e.g.
services: app: volumes: - app-data:/data volumes: app-data: - Confirm the container really has the volume mounted via
docker inspect - Open Advanced → Volumes in Dokploy
- Notice it says
No volumes/mounts configured - Click Add Volume and notice only File Mount is available
This request is intentionally not asking for YAML editing through the Volumes UI — only for visibility.
Will you send a PR to implement it?
Maybe, need help
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the Advanced → Volumes screen and the Docker Compose volume parsing or runtime-mount entry points. Confirm how named volumes are discovered, then define read-only rows that show their source and mount path without edit controls. Verify the Compose example from the issue and ensure file mounts retain their current behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, docker-compose, typescript
- Domain
- devops, infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100