Docker Compose visualizer

Docker Port Mapper

Paste a Compose file to see which host address and port lead to each container service.

Your Compose configuration stays in this browser tab.

Compose configuration

Supports common short and long ports syntax.

One NAME=value pair per line. Values are used only for local interpolation.

Published routes

Waiting for Compose YAML

How Compose port publishing works

Browser or API client

Host address

127.0.0.1:8080 is the address used from the host. Omitting the address commonly publishes on all host interfaces.

Docker forwarding

Published → target

In 8080:80, host port 8080 forwards to port 80 inside the service container.

Container-to-container

Service DNS

Other Compose services normally connect to the service name and container port, such as http://web:80.

Runtime verification

This page explains declared configuration. Confirm the live mapping with commands from the Port Command Generator or paste docker ps output into the Port Output Parser.