Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/ivangrynenko/cursorrulesWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/rules/ivangrynenko/cursorrules/lagoon-docker-compose-standards)<a href="https://agentmods.dev/rules/ivangrynenko/cursorrules/lagoon-docker-compose-standards"><img src="https://agentmods.dev/badge/rules/ivangrynenko/cursorrules/lagoon-docker-compose-standards/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/rules/ivangrynenko/cursorrules/lagoon-docker-compose-standards"><img src="https://agentmods.dev/badge/rules/ivangrynenko/cursorrules/lagoon-docker-compose-standards.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00765 |
| Opus 5.5 | $0.00000 | $0.00306 |
| Sonnet 5.5 | $0.00000 | $0.00153 |
| Haiku 4.5 | $0.00000 | $0.00076 |
Grade A, and why
lagoon-docker-compose-standards scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
Copies of this mod
1 near-identical copy found in the catalogue:
- lagoon-docker-compose-standards — 100% identical, 0 lines differ
What it actually says
Lagoon Docker Compose Standards
Ensures proper Docker Compose configuration for Lagoon deployments, following best practices and Lagoon-specific requirements.
actions:
-
type: enforce conditions:
-
pattern: "services:\s+\w+:\s+(?!.*labels:[\s\S]*lagoon)" message: "Add Lagoon labels to service definitions for proper Lagoon integration"
-
pattern: "version:\s*['"]*2" message: "Use Docker Compose format version 3 or higher for compatibility with modern Docker features"
-
pattern: "volumes:\s+[^:]+:\s+(?!.*delegated)" message: "Use 'delegated' mount consistency for better performance on macOS development environments"
-
pattern: "services:\s+\w+:\s+(?!.*restart:)" message: "Define restart policy for services to ensure proper behavior during deployment"
-
-
type: suggest message: |
Lagoon Docker Compose Best Practices:
Service Configuration
- Define service types via labels (e.g.,
lagoon.type: nginx) - Use proper image naming conventions (e.g.,
amazeeio/nginx-drupal:latest) - Set appropriate environment variables using Lagoon variables
- Define health checks for critical services
- Configure proper networking with Lagoon defaults
- Set resource constraints appropriate for each environment
Volume Configuration
- Use named volumes for persistent data
- Configure appropriate volume mounts with correct permissions
- Use 'delegated' mount consistency for macOS performance
- Avoid mounting the entire codebase when possible
Build Configuration
- Use build arguments appropriately
- Define proper Dockerfile paths
- Use multi-stage builds for smaller images
Example Service Configuration:
services: nginx: build: context: . dockerfile: nginx.dockerfile labels: lagoon.type: nginx lagoon.persistent: /app/web/sites/default/files/ volumes: - app:/app:delegated depends_on: - php environment: LAGOON_ROUTE: ${LAGOON_ROUTE:-http://project.docker.amazee.io} - Define service types via labels (e.g.,
-
type: validate conditions:
-
pattern: "services:\s+cli:\s+(?!.*build:)" message: "CLI service should have proper build configuration for Lagoon compatibility"
-
pattern: "services:\s+\w+:\s+(?!.*depends_on:)" message: "Define service dependencies for proper startup order and container relationships"
-
pattern: "networks:\s+(?!.*default:)" message: "Configure proper network settings for Lagoon compatibility and service communication"
-
pattern: "services:\s+mariadb:\s+(?!.*image:\s+amazeeio\/mariadb)" message: "Use Lagoon-provided MariaDB image for compatibility with Lagoon environment"
-
pattern: "services:\s+\w+:\s+environment:\s+(?!.*\$\{LAGOON)" message: "Use Lagoon environment variables with fallbacks for local development"
-
metadata: priority: high version: 1.1
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 92 lines · 0 tokens per session scan A cfa812b1fafc
lagoon-docker-compose-standards is a cursor rule published in the GitHub repository ivangrynenko/cursorrules (88 stars, last pushed 1y ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 765 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
lagoon-docker-compose-standards compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| lagoon-docker-compose-standardsivangrynenko/cursorrules | Cursor rule | 88 | 1y ago | MIT | A | 0 | Cursor |
| dockernedcodes-ok/cursorrules-collection | Cursor rule | 38 | 9mo ago | MIT | A | 823 | Cursor |
| kubernetesnedcodes-ok/cursorrules-collection | Cursor rule | 38 | 9mo ago | MIT | A | 238 | Cursor |
| python-containerization-cursorrules-prompt-filePatrickJS/awesome-cursorrules | Cursor rule | 41k | 6mo ago | CC0-1.0 | A | 56 | Cursor |
| containerization-rulesholtwood/awesome-cursorrules-zh | Cursor rule | 244 | 1mo ago | MIT | A | 0 | Cursor |
| deploy-arch-maintenanceTashanGKD/tashan-cursor-skills | Cursor rule | 25 | 8mo ago | MIT | A | 54 | Cursor |
| 90-devops-deploymentaiagentwithdhruv/ai-dev-stack | Cursor rule | 11 | 5mo ago | MIT | A | 0 | Cursor |