Docker Compose Generator
中级ops最低上下文:16K
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.
使用场景
- 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)
示例提示词
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]
推荐模型
兼容工具
claude-codecursorgithub-copilotkiroany
模态
输入: text
→输出: code, text
相关 Skills
作者
OpenModels Community