🐳 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
- ・All inputs are processed entirely in your browser
- ・No server upload, no storage logs, no database
Compose file version pinned to 3.9 (modern)
🌐 Top-level definitions
📄 docker-compose.yml
📖 How to Use
-
1
Choose a preset or add a serviceStart from one of six presets (LAMP, Next.js, Laravel, etc.) or add a blank service card.
-
2
Fill in service fieldsEnter image, ports, volumes, environment, depends_on, restart, and networks. Output updates in real time.
-
3
Copy or downloadOne-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.
🔗 Related Tools
🐛 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.
✅
Thanks for your report!
Your report has been delivered to the operator and will be used to improve the tool.