dare-docker-compose

dare-docker-compose is a command for Cursor from dewtech-technologies/dare-method. It costs 0 tokens per session (514 once invoked), scanned A, original, MIT.

A command that creates a Docker Compose configuration from a project's architecture blueprint. Docker Compose is a file format for running an application together with services such as databases, caches, and web servers.

In plain words
What is it for?
Use it to generate a local or deployment setup for an app and its supporting services, including PostgreSQL, Redis, MailHog, or an Nginx front end when required.
Why use it?
It removes the need to manually connect the application's containers and configure their dependencies, ports, volumes, and environment settings.

Command for Cursor

Install

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.

agentmods
npx agentmods add commands/dewtech-technologies/dare-method/dare-docker-compose
Clone the repo
git clone --depth 1 https://github.com/dewtech-technologies/dare-method

Made for: Cursor.

Wrote 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.

agentmods badge for dare-docker-compose

README.md
[![agentmods](https://agentmods.dev/badge/commands/dewtech-technologies/dare-method/dare-docker-compose.svg)](https://agentmods.dev/commands/dewtech-technologies/dare-method/dare-docker-compose)
Your own site
<a href="https://agentmods.dev/commands/dewtech-technologies/dare-method/dare-docker-compose"><img src="https://agentmods.dev/badge/commands/dewtech-technologies/dare-method/dare-docker-compose.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 514 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00514
Opus 5 $0.00000 $0.00257
Sonnet 5 $0.00000 $0.00103
Haiku 4.5 $0.00000 $0.00051

Measured yesterday against content hash bde736f38345, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dare-docker-compose 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 yesterday.

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.

implementations/cursor/.cursor/commands/dare-docker-compose.md · 19 lines

What it actually says

Comando: /dare-docker-compose

Descrição

Este comando analisa a arquitetura definida no BLUEPRINT.md e gera um docker-compose.yml completo com todos os serviços necessários (App, DB, Cache, etc).

Instruções para o Cursor Composer

  1. Leia o Documento Blueprint: Acesse o DARE/BLUEPRINT.md (se existir) para identificar as dependências do sistema (ex: PostgreSQL, Redis, Mailhog).
  2. Leia o Contexto Global: Leia o .cursorrules para confirmar as versões do banco de dados e outras ferramentas.
  3. Leia a Skill Docker: Leia .cursor/rules/skill-docker.mdc para aplicar boas práticas (Healthchecks, Redes, Volumes).
  4. Gere o docker-compose.yml:
    • Crie um arquivo docker-compose.yml na raiz do projeto.
    • Serviço App: Use o build: . (Dockerfile gerado). Exponha a porta correta. Defina variáveis de ambiente ou carregue do .env. Configure depends_on para DB/Cache.
    • Serviço Webserver (Laravel): Se for Laravel, crie um serviço nginx dependente do app (PHP-FPM) e configure os volumes para compartilhar a pasta /var/www/html.
    • Serviço Banco de Dados: Adicione o banco de dados (ex: postgres:16-alpine ou mysql:8.0). Defina variáveis de ambiente para usuário, senha e database (POSTGRES_DB, POSTGRES_USER). Adicione um healthcheck para testar a conexão (pg_isready -U user). Crie um volume nomeado para os dados (db_data:/var/lib/postgresql/data).
    • Serviço Cache (Opcional): Se o projeto usar Redis, adicione o serviço redis:7-alpine.
    • Redes e Volumes: Defina as redes customizadas (ex: app-network) e volumes (db_data, redis_data) no final do arquivo.
  5. Mensagem Final: Informe ao usuário: "Arquivo docker-compose.yml gerado com sucesso. Todos os serviços (App, [DB], [Cache]) foram configurados com healthchecks, volumes persistentes e redes isoladas. Revise as portas e variáveis de ambiente no .env antes de executar docker-compose up -d."
Changes

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.

  1. yesterday First seen · 19 lines · 0 tokens per session scan A bde736f38345

Subscribe to this mod's changes

dare-docker-compose is a command published in the GitHub repository dewtech-technologies/dare-method (5 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 514 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-09-03.