Docker Compose Generator

Describe your services, ports, volumes and environment, then copy the docker-compose.yml. runs in your browser

Output

services: {}

Nothing you type leaves the browser — the YAML is built by this page.

How it works

Each service becomes an entry under services: with the image you name, the port mappings you add (host:container), the volumes you mount (./local:/container) and any environment variables. Only the fields you fill in are written, so the output stays readable rather than a wall of empty keys.

Save the result as docker-compose.yml next to your project and run docker compose up -d. Values containing spaces, colons or # are quoted automatically, which is the usual reason a hand-written compose file fails to parse.

Related tools


Luke Keam
Spot a bug or want a custom utility built? I'd love to hear from you. Get in touch
Luke Keam | techgeek.biz