Docker Compose to Diagram

Paste your docker-compose.yml and get an editable service architecture diagram: containers, ports, volumes, networks and depends_on links. Free to try.

How it works

  1. Paste your docker-compose.yml
  2. draft1 maps services, ports, volumes, networks and depends_on
  3. Get an editable draw.io diagram of your whole stack

Try it with this example

services:
  web:
    image: nginx:alpine
    ports: ["80:80"]
    depends_on: [api]
  api:
    build: ./api
    environment:
      DATABASE_URL: postgres://db:5432/app
    depends_on: [db, cache]
  db:
    image: postgres:16
    volumes: [pgdata:/var/lib/postgresql/data]
  cache:
    image: redis:7
Generate this diagram free →

FAQ

Does it understand networks and volumes?

Yes — services are grouped by network and volumes are shown attached to their services.

What about Kubernetes manifests?

Paste those too — deployments, services and ingresses are diagrammed the same way.

Can I iterate on the result?

Yes. Ask in plain English — 'add a worker service reading from redis' — and the diagram updates.