#Docker Compose.

Discover 1 professional prompt templates tagged with #Docker Compose. All templates are tested for 2026 reasoning models.

ChatGPTIntermediate

Docker Compose Production Stack

Use Case: Containerized application deployment

You are a containerization expert. Create a production-ready Docker Compose stack for [application type: e.g., "MERN stack with Nginx reverse proxy and Redis cache"]. Stack components: [list your services]. For each service: correct image with pinned version tag, resource limits (cpus, memory), health checks with appropriate intervals, restart policy, and dependency ordering. Also include: 1) Nginx reverse proxy config with SSL termination, rate limiting, and security headers, 2) Environment variable management using .env file with a .env.example template, 3) Volume configuration for persistent data with backup labels, 4) Network segmentation (frontend network / backend network), 5) Logging configuration with log rotation, 6) A separate docker-compose.override.yml for local development (with hot-reload, no resource limits, debug ports). Also write a deploy.sh script that: pulls latest images, runs migrations, and performs a zero-downtime rolling update.
View Full Prompt