Docker Compose Generator

Build a valid docker-compose.yml from a simple service form.

Support
No Login
No API

web

docker-compose.yml

About the Docker Compose Generator

Add services one by one — image, ports, environment variables, volumes and dependencies — and get a clean docker-compose.yml you can copy or download. Useful for spinning up a local stack of app, database and cache containers without memorising the YAML shape.

Examples

Web + Postgres

nginx:alpine, postgres:16

Output

services:
  web:
    image: nginx:alpine

Keyboard shortcuts

  • Copy the main outputCtrl / ⌘ + Shift + C
  • Download the resultCtrl / ⌘ + S
  • Share this toolCtrl / ⌘ + Shift + S
  • Reset the inputsAlt + R
  • Open the tool search paletteCtrl / ⌘ + K

Related tools

Frequently asked questions

Version 1.0.0 · Updated 2026-08-22 · Runs entirely in your browser