How to visualize Docker Compose service dependencies
Start on the first screen: the Primary input panel holds the Compose YAML, and the graph beside it renders every service as a node. Load a preset such as a microservices stack, WordPress with Redis and MySQL, or FastAPI with Celery and RabbitMQ, or paste your own file. Press Validate YAML to re-parse the input and refresh the graph. Edges come from depends_on, links, and environment variables whose values resolve to another service name or container host, so the graph reflects the runtime wiring rather than only the top-level keys.
Inspect ports, volumes, and environment variables
The inspector panel explains one service at a time. It shows the container image, build context, restart policy, host-to-container port bindings, bound volumes and mount modes, and the resolved environment variables with a Show secrets toggle for credential-shaped keys. The Port and Volume Matrix tab lists every binding across the project and flags host-port collisions, while the Audit tab reports missing images, unknown depends_on targets, circular dependency chains, and services that share a host port.
Switch between hierarchical, radial, and force layouts
The hierarchical layout arranges services by dependency depth so upstream edge proxies sit above the services they route to. The radial layout places the deepest dependencies in the centre and fans dependents outwards in rings. The force-directed layout runs a deterministic simulation so the same Compose file always produces the same picture. Zoom with the mouse wheel or the toolbar, drag to pan, and press Fit to return to the whole graph. Filter chips dim ports, environment labels, volumes, and healthchecks when the graph gets busy.
Export a clean docker-compose.yml
Export compose.yml rewrites the normalized model into a predictable Compose file: services sorted by name, stable port and volume ordering, networks and volumes declared once, and healthcheck settings preserved. Copy puts the same YAML on the clipboard and download saves it locally. The output is ordinary Compose Spec YAML with no version key, ready for docker compose up. Saved stacks persist through the Axle adapter boundary with a local deterministic fallback so you can return to a topology later.
Private by design, no upload required
The parser, validator, layouts, and exporters all run in your browser. Your Compose file is never uploaded for visualization, and no account is required. Only anonymous product events such as tool_run and tool_download are recorded, and they never include YAML content, environment values, or file names. The privacy page describes the limited analytics surface, and the contact form accepts bug reports without a Compose file attached.
Frequently Asked Questions
What does a Docker Compose service dependency visualizer do?
It reads a docker-compose.yml file and draws each service as a node with edges for depends_on, links, and environment-variable host references. The result is a picture of startup order and runtime coupling instead of a long YAML file.
Which Compose features are supported?
The parser supports the Compose Spec subset used by most projects: services, image and build, ports, expose, volumes, environment and env_file, depends_on with conditions, networks, links, healthcheck, restart, command, entrypoint, labels, and top-level networks and volumes. Anchors can be defined, but YAML aliases and merge keys must be expanded before pasting; unknown keys are ignored and reported as unsupported constructs.
Does it validate my Compose file?
It validates structure and common wiring mistakes: a service without image or build, depends_on pointing at a missing service, duplicate host ports, circular dependency chains, and volume sources that are not declared. It is a static topology check, not a replacement for docker compose config.
Is my docker-compose.yml uploaded to a server?
No. Parsing, layout, validation, and export run in your browser. The file stays in page memory, and saved stacks use the local adapter fallback with localStorage unless a backend base URL is configured.
Can I export the graph as YAML?
Yes. Export compose.yml rebuilds the normalized model into a clean Compose Spec file with sorted services and stable collections. You can also copy the live compose output from the inspector tab.
Does the visualizer work on mobile?
Yes. The graph, inspector tabs, and toolbar stack vertically on small screens. The graph keeps pan and zoom, and the inspector becomes a full-width panel below the canvas.