web
nginx:1.27-alpine
api
frontend
8080:80
./nginx.conf:/etc/nginx/conf.d/default.conf:ro
Compose inspector
3
1
0
2
nginx:1.27-alpine
api
frontend
8080:80
./nginx.conf:/etc/nginx/conf.d/default.conf:ro
build: ./api
db
frontend, backend
none
none
postgres:16
none
backend
none
db-data:/var/lib/postgresql/data
This Docker Compose viewer and validator lets you paste a docker-compose.yml file and inspect the application model in your browser. It parses YAML, lists services, images, build contexts, ports, volumes, networks, configs, secrets, dependencies, healthchecks, and common warnings that are easy to miss during review.
services map.depends_on, named volumes, and named networks.privileged: true, network_mode: host with ports, and explicit container names that prevent scaling.| Issue | Why it matters |
|---|---|
Two services publish 8080:80 | Only one container can bind the same host port on the same interface. |
| A service depends on a missing service | Startup ordering fails because Compose cannot resolve the dependency name. |
| Named volume not declared | Reviewers cannot see whether the volume is external, local, or driver-backed. |
Secrets in environment | Compose files are often committed to Git. Secrets should usually move to secrets, env files, or local runtime config. |
This browser tool is meant for fast inspection, pull request review, and explaining a Compose file. It does not run Docker, resolve local files, apply profiles, load .env, or contact registries. For final validation in a project directory, still run docker compose config or your CI checks.
Use both together: this page helps you understand the model quickly, and the Docker CLI confirms the fully resolved project state on the machine where the app will run.
latest.api, worker, and db.No. It parses and analyzes the YAML in your browser. It does not start containers, pull images, or access your Docker daemon.
No. The parser and checks run client-side in the browser.
It focuses on practical structure and review checks. The Docker CLI remains the source of truth for full project resolution.
Yes for inspection. The current Compose Specification merged the older 2.x and 3.x formats, so the tool treats version as informational.
Related terms include docker compose validator, docker compose viewer, docker-compose.yml validator, compose file checker, docker compose port collision, docker compose depends_on checker, docker compose network viewer, docker compose volume viewer, and docker compose yaml syntax checker.
Useful tools for nearby workflows: