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
Security Adversarial Tester
Test AI systems for prompt injection and security vulnerabilities
React Component Generator & Reviewer
Generates production-ready React components with TypeScript, proper props typing, accessibility, and best practices for 2026 React standards.
Database Schema Designer
Design a production-ready database schema from a plain-language description, including tables, relationships, indexes, and migration SQL.
Few-Shot Learning Prompt Builder
Create effective few-shot learning prompts with examples that teach AI models new tasks quickly.