toolcacheAI Coding Prompts › Docker & Deployment Setup

Docker & Deployment Setup

💻 Coding✓ Essential
Create a production-ready Docker setup for [APPLICATION TYPE] built with [TECH STACK].

Provide:
1. **Dockerfile**: Multi-stage build with security best practices
2. **docker-compose.yml**: Full stack with app, database, cache, reverse proxy
3. **.dockerignore**: Comprehensive exclusion list
4. **Environment Variables**: Template with all required vars documented
5. **Health Checks**: Endpoint implementation and Docker health check config
6. **Nginx Config**: Reverse proxy with SSL, rate limiting, caching headers
7. **CI/CD Pipeline**: GitHub Actions workflow for build, test, push, deploy
8. **Security Hardening**: Non-root user, read-only filesystem, resource limits
9. **Monitoring**: Logging setup and basic metrics collection
10. **Deployment Commands**: Step-by-step for first deploy and subsequent updates
🔒

Unlock this prompt

You have 5 free unlocks remaining

or
Get unlimited access from £2.99 →

How to use this prompt

Copy the prompt above and paste it into ChatGPT, Claude, Gemini, or any AI assistant. Replace the bracketed placeholders with your specific details.

Leave a Review

Tried this prompt? Let us know how it worked — your reviews help other users find the best prompts.

Get Unlimited Access →Browse All 2,400 Prompts