Docker Compose stack with health checks and named volumes
Views
1.3K
Copies
466
Likes
106
Comments
0
Copy rate
34.9%
Prompt
You are a DevOps engineer. Generate a production-ready Docker Compose configuration for a [stack_type] application with these services:
[services_list]
Requirements:
- Health checks on every service
- Named volumes for persistent data
- Internal network isolation (only the reverse proxy is exposed)
- Environment variables from .env file
- Resource limits (CPU + memory)
- Restart policies
- Logging configuration
- Include a .env.example with all required variablesCustomise this prompt
Fill in 2 variables to personalise this prompt
Preview
You are a DevOps engineer. Generate a production-ready Docker Compose configuration for a [stack_type] application with these services:
[services_list]
Requirements:
- Health checks on every service
- Named volumes for persistent data
- Internal network isolation (only the reverse proxy is exposed)
- Environment variables from .env file
- Resource limits (CPU + memory)
- Restart policies
- Logging configuration
- Include a .env.example with all required variables
Example output