Skip to content

🐳 docker-compose.yml Generator

Build a complete docker-compose.yml from a simple form. Add multiple services with ports, volumes, environment, depends_on, networks, plus top-level volumes and secrets.

✅ 100% free, no signup, runs entirely in your browser

🔒 About Privacy

Compose file version pinned to 3.9 (modern)

🌐 Top-level definitions

📄 docker-compose.yml

📖 How to Use

  1. 1
    Choose a preset or add a service
    Start from one of six presets (LAMP, Next.js, Laravel, etc.) or add a blank service card.
  2. 2
    Fill in service fields
    Enter image, ports, volumes, environment, depends_on, restart, and networks. Output updates in real time.
  3. 3
    Copy or download
    One-click copy the generated YAML, or download as docker-compose.yml.

❓ FAQ

Which compose file version is generated?
It outputs version: 3.9, the modern default widely used by docker compose v2. Works with Docker Engine 19.03 and later.
Are passwords and API keys uploaded?
No. Everything runs in your browser; nothing is sent over the network. You can verify in the Network tab of your devtools.
Can the generated YAML be used directly with docker compose up?
Yes. Presets use official images and default settings, so they boot as-is. For production, move env to .env or secrets.
🐛 Found a bug or issue with this tool?

Free to use, no signup. Even just the steps to reproduce are helpful. Reports go directly to the operator and help us fix issues.

* Browser info (UA / screen / language / URL) is sent automatically to help reproduce the issue