Skip to content
MtrXTools

Docker Compose inspector

Paste a Docker Compose file to see its services in start order with their dependencies, ports, networks and volumes, and catch mistakes: undefined services, networks, volumes, secrets and configs, host port clashes, dependency cycles and waits on services without a healthcheck. Runs in your browser.

Last updated

What it does

  • Lists every service in the order Compose starts them, with its image or build context, published ports, networks, volumes, environment size, healthcheck and restart policy.
  • Shows what each service waits for: depends_on (started, healthy or completed), links, network_mode: service:x and volumes_from.
  • Flags references that would fail at docker compose up: services, networks, named volumes, secrets and configs that aren't defined, and extends of a missing service.
  • Finds host port clashes, including ranges, protocols and host IPs (127.0.0.1:80 and 0.0.0.0:80 clash; tcp and udp don't), and dependency cycles.
  • Warns about common traps: waiting for service_healthy on a service with no healthcheck, databases published on every interface, images without a fixed tag, and the obsolete version: key.

What it can't see

Variables such as ${PORT} and .env files aren't resolved, so ports and names built from them aren't checked. Files merged with -f or include: aren't loaded: paste the merged result of docker compose config to check everything together. Healthchecks defined inside an image are invisible here.

Questions

Does depends_on wait until the database is ready?
Only with condition: service_healthy and a healthcheck on the database. The short form (depends_on: [db]) waits for the container to start, not for the database to accept connections.
Do services need to publish ports to talk to each other?
No. Services on the same network reach each other by service name and container port (db:5432). Publishing with ports: only matters for access from the host or outside.
Is my compose file uploaded?
No. It is parsed and checked in your browser, so internal hostnames and credentials in it stay on your device.