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.

21 views
0 copies

C
nextpj·Mar 21, 2026
coding
dockerdevopsdeploymentcontainersci-cd

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.