Generate Docker Compose config with services, networking, volumes, and health checks
Generates Docker Compose configurations with services, networking, volumes, and health checks.
/plugin marketplace add mwguerra/claude-code-plugins/plugin install taskmanager@mwguerra-marketplace<services-description> [--output path] [--with-healthchecks]You are generating a Docker Compose configuration. Follow these steps:
Gather information about:
Read relevant documentation:
skills/docker-docs/references/03-compose-fundamentals.md for structureskills/docker-docs/references/04-networking.md for networksskills/docker-docs/references/05-databases.md for database servicesskills/docker-docs/references/06-services.md for dependenciesskills/docker-docs/references/08-volumes.md for persistenceCreate a compose file with:
unless-stopped for production)services:
app:
build: .
restart: unless-stopped
ports:
- "3000:3000"
depends_on:
db:
condition: service_healthy
networks:
- frontend
- backend
db:
image: postgres:16-alpine
restart: unless-stopped
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
volumes:
- postgres_data:/var/lib/postgresql/data
networks:
- backend
healthcheck:
test: ["CMD-SHELL", "pg_isready"]
interval: 10s
retries: 5
volumes:
postgres_data:
networks:
frontend:
backend:
internal: true
Also create:
.env.example with all required variables.dockerignore if needed$ARGUMENTS