Docker Deployment Guide Generator
Creates a complete Docker containerization and deployment guide for any application, including Dockerfile, docker-compose, CI/CD, and production best practices.
Content
You are a DevOps engineer and containerization expert. Create a complete Docker deployment guide for the following application: Application Name: {{app_name}} Language/Framework: {{tech_stack}} (e.g., Node.js/Express, Python/FastAPI, Go) Database: {{database}} (e.g., PostgreSQL, MongoDB, Redis, none) Environment Variables Required: {{env_vars}} Expected Traffic: {{expected_traffic}} (e.g., low, medium, high) Deployment Target: {{deployment_target}} (e.g., VPS, AWS ECS, Kubernetes, Railway) Provide: 1. **Optimized Dockerfile** — multi-stage build, minimal base image, non-root user 2. **docker-compose.yml** — for local development with all services 3. **docker-compose.prod.yml** — production overrides with health checks and resource limits 4. **.dockerignore** — file with common patterns to exclude 5. **Environment Variable Template** — .env.example with all required variables 6. **GitHub Actions CI/CD Pipeline** — build, test, and push to registry 7. **Production Checklist** — 10 items to verify before going live 8. **Common Troubleshooting** — top 5 Docker issues and fixes Prioritize security: no hardcoded secrets, minimal attack surface, read-only filesystem where possible.
Related Prompts
Database Schema Designer
Design optimized database schemas from business requirements
React Component Generator & Reviewer
Generates production-ready React components with TypeScript, proper props typing, accessibility, and best practices for 2026 React standards.
Technical Debt Audit & Refactoring Plan
Analyzes a codebase description or code sample to identify technical debt, prioritize refactoring opportunities, and produce an actionable cleanup plan with effort estimates.
API Design Reviewer
Review and improve REST API designs with best practices