Docker Compose Generator

Build docker-compose.yml files visually with service templates, stack presets, and live YAML preview.

Stack Templates
{ }

No services yet. Add a service or load a stack template to get started.

docker-compose.yml 1 lines
# Add services to generate your docker-compose.yml
Docker Compose Reference

Common Images

  • postgres:15-alpine -- PostgreSQL database
  • redis:alpine -- Redis cache/store
  • nginx:alpine -- Nginx web server
  • node:18-alpine -- Node.js runtime
  • python:3.11-slim -- Python runtime
  • mysql:8 -- MySQL database
  • mongo:latest -- MongoDB database

Restart Policies

  • no -- Never restart (default)
  • always -- Always restart
  • on-failure -- Restart on non-zero exit
  • unless-stopped -- Restart unless manually stopped

Volumes

  • ./host/path:/container/path -- Bind mount
  • volume_name:/container/path -- Named volume