🐳
Compose Visualizer

Map Docker Compose files to interactive architecture graphs
docker-compose.yml 0 lines
Legend
Service
Network
Volume
Port
🏗
Paste a docker-compose.yml in the left panel
or click Load Demo to see an example
—
Drop docker-compose.yml here
Services 0
Networks 0
Volumes 0
Ports 0
0 edges
Share This Tool
AS IS — No Warranty. This tool is provided for informational and educational purposes only. MYSYSAD.COM makes no representations or warranties of any kind, express or implied, about the completeness, accuracy, reliability, or suitability of this tool for any purpose. Your use of this tool is entirely at your own risk. No data is transmitted or stored — all processing occurs in your browser.

Docker Compose files as a diagram

A compose file with a dozen services is hard to picture from YAML alone. Paste yours or open the file, and each service, network, volume and published port becomes a node, with lines showing what connects to what. The PNG export is handy for documentation and handovers.

Common questions

How do services in Docker Compose talk to each other?

Services on the same network reach each other by service name, so a web service connects to db:5432, not to localhost. Compose creates a default network for the project; if you define your own networks, two services must share at least one of them to talk.

What is the difference between ports and expose?

ports: "8080:80" publishes container port 80 on port 8080 of the host, where other machines can reach it. expose only documents a port; containers on the same network can reach each other’s ports without either setting.

What does “port is already allocated” mean?

Another container or process on the host already uses that host port. Find it with docker ps or sudo ss -tulpn | grep :8080, then change the left-hand (host) side of the mapping, for example "8081:80".

Should I use a named volume or a bind mount?

A named volume such as dbdata:/var/lib/postgresql/data is managed by Docker and survives docker compose down unless you add -v. A bind mount such as ./config:/etc/app maps a folder on the host, so the host’s file ownership (and SELinux labels on RHEL-based systems) apply.

How do I check a compose file for errors?

docker compose config validates the file and prints the fully resolved version with variables filled in. It’s the quickest way to catch indentation mistakes and misspelled keys.

Related tools: Kubernetes Manifest Builder · Error Message Decoder · All tools A–Z