Docker Compose Generator

intermediateopsMin 16K context

Generates Docker Compose configurations from application requirements. Handles service dependencies, networking, volumes, health checks, environment variables, and multi-stage builds. Supports development and production profiles.

Use Cases

  • Setting up local development environments
  • Creating production-ready Docker Compose stacks
  • Adding services (databases, caches, queues) to existing setups
  • Configuring health checks and restart policies
  • Multi-environment configurations (dev/staging/prod)

Example Prompt

Generate a Docker Compose configuration for the following stack:

Services:
- [list your services, e.g., "Next.js app", "PostgreSQL 15", "Redis 7"]

Requirements:
- Health checks for all services
- Named volumes for data persistence
- Environment variables from .env file
- Proper startup order with depends_on conditions
- Development profile with hot-reload
- Production profile with resource limits

Additional context:
- [any networking, port, or volume requirements]

Recommended Models

Compatible Tools

claude-codecursorgithub-copilotkiroany

Modalities

Input: text
Output: code, text

Related Skills

Author

OpenModels Community

@openmodelsrun