compose-patterns-2025
Documents production-ready Docker Compose patterns for 2025, focusing on multi-environment strategies and modern features.
Install this skill
Security score
The compose-patterns-2025 skill was audited on Feb 9, 2026 and we found 17 security issues across 4 threat categories. Review the findings below before installing.
Categories Tested
Security Issues
Template literal with variable interpolation in command context
| 123 | ```bash |
Template literal with variable interpolation in command context
| 576 | ```yaml |
Template literal with variable interpolation in command context
| 667 | ```yaml |
Curl to non-GitHub URL
| 660 | curl -f http://localhost:8080/health || exit 1 |
Access to .env file
| 93 | ### Pattern: .env Files per Environment |
Access to .env file
| 95 | **.env.template (committed to git):** |
Access to .env file
| 102 | # DB_PASSWORD= (set in actual .env) |
Access to .env file
| 107 | # REDIS_PASSWORD= (set in actual .env) |
Access to .env file
| 114 | **.env.dev:** |
Access to .env file
| 122 | **.env.prod:** |
Access to .env file
| 132 | docker compose --env-file .env.dev up |
Access to .env file
| 597 | # Development (.env.dev) |
Access to .env file
| 600 | # Production (.env.prod) |
Access to .env file
| 720 | - .env |
External URL reference
| 212 | test: ["CMD", "curl", "-f", "http://localhost:8080/health"] |
External URL reference
| 660 | curl -f http://localhost:8080/health || exit 1 |
External URL reference
| 694 | test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:8080/health"] |