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
RAG System Optimization Auditor
Audit and optimize your Retrieval-Augmented Generation pipeline for better accuracy
API Documentation Generator
Generate comprehensive API documentation including endpoints, parameters, responses, and examples.
Edge Case Explorer
Generate comprehensive edge cases and boundary condition tests for any system
API Documentation Generator
Generate comprehensive API documentation from code or specifications