1

    docker-compose-generator

    by Markus Isaksson

    Auto-generate a complete multi-service Docker Compose environment from your project's source code and Dockerfile.

    Updated May 2026
    Instant install
    One-time purchase

    $5

    One-time purchase

    ⚡ Also available via Agensi MCP — your AI agent can load this skill on demand via MCP. Learn more →

    Included in download

    • Scaffold a multi-service dev environment from a single Dockerfile
    • Generate health-checked Compose files for Node, Python, or Go stacks
    • terminal, env_vars automation included
    • Includes example output and usage patterns
    • Instant install

    See it in action

    Generated:
    - docker-compose.yml (App + Postgres + Redis)
    - docker-compose.override.yml (Source mounts & Debug ports)
    - .env.example (Template with placeholders)
    - Makefile (up, down, logs, psql targets)
    
    Ready to run: 'cp .env.example .env && make up' to start the healthy stack.

    About This Skill

    Streamlined Local Development Orchestration

    Transform your single-container project into a robust, multi-service development environment. This skill automates the tedious process of wiring up databases, caches, and message brokers by analyzing your existing source code and Dockerfiles.

    What it does

    • Stack Detection: Analyzes manifests (package.json, pyproject.toml, go.mod, etc.) to identify your framework and language.
    • Dependency Discovery: Scans imports and environment variables to detect requirements like PostgreSQL, Redis, Kafka, or MinIO.
    • Intelligent Scaffolding: Generates a full suite of configuration files including health checks, service dependencies, and network aliases.
    • Reference-First Config: Implements industry best practices by using .env references instead of hardcoded strings in YAML.

    Why use this skill

    Instead of manually copy-pasting Compose snippets and fighting with networking issues, this skill provides a developer-ready environment in seconds. It ensures your application waits for dependencies to be healthy, not just running, preventing startup crashes. It also provides a Makefile to standardize common operations across your team, making "day 1" setup as simple as make up.

    Supported Tools

    • Languages: Node.js, Python, Go, Java, Rust, Ruby, PHP.
    • Services: Postgres, MySQL, Redis, MongoDB, RabbitMQ, Elasticsearch, Kafka, MinIO, Mailpit.
    • Automation: Provides Makefile targets and wait-for-it.sh synchronization scripts.

    📖 Learn more: Best DevOps & Deployment Skills for Claude Code →

    Use Cases

    • Scaffold a multi-service dev environment from a single Dockerfile
    • Generate health-checked Compose files for Node, Python, or Go stacks
    • Add auto-detected database and cache services to an existing project
    • Create a standardized Makefile for common Docker orchestration tasks

    Reviews

    No reviews yet - be the first to share your experience.

    Only users who have downloaded or purchased this skill can leave a review.

    Frequently Asked Questions

    Similar Skills

    $5

    One-time