docker-apps

docker-apps is a cursor rule for Cursor from proyecto26/projectx. It costs 0 tokens per session (1,347 once invoked), scanned A, original, MIT.

A setup guide for Turborepo, a tool that coordinates JavaScript projects stored in one shared codebase, called a monorepo.

In plain words
What is it for?
Use it when maintaining the listed auth, order, product, web, and shared-package workspaces, or when configuring their build pipelines.
Why use it?
It gives shared rules for building, caching, and working across several apps and packages without managing each project separately.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when maintaining the listed auth, order, product, web, and shared-package workspaces, or when configuring their build pipelines.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/proyecto26/projectx/docker-apps
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.

Clone the repo
git clone --depth 1 https://github.com/proyecto26/projectx

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 docker-apps

README.md
[![agentmods](https://agentmods.dev/badge/rules/proyecto26/projectx/docker-apps/github.svg)](https://agentmods.dev/rules/proyecto26/projectx/docker-apps)
Your own site
<a href="https://agentmods.dev/rules/proyecto26/projectx/docker-apps"><img src="https://agentmods.dev/badge/rules/proyecto26/projectx/docker-apps/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.

agentmods 80×15 button for docker-apps

Your own site · 80×15
<a href="https://agentmods.dev/rules/proyecto26/projectx/docker-apps"><img src="https://agentmods.dev/badge/rules/proyecto26/projectx/docker-apps.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 1,347 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00000 $0.01347
Opus 5.5 $0.00000 $0.00539
Sonnet 5.5 $0.00000 $0.00269
Haiku 4.5 $0.00000 $0.00135

Measured 3mo ago against content hash be5e4cbd4de9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

docker-apps scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

test: ["CMD", "curl", "-f", "http://localhost:PORT/health"]
.cursor/rules/infraestructure/docker-apps.mdc · 177 lines

How it starts

The opening of the file, as written. The whole thing — 177 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Docker Application Services

Service Overview

Application Services

  • auth (NestJS - Port 8081, Debug 9229)
  • order (NestJS - Port 8082, Debug 9230)
  • product (NestJS - Port 8083, Debug 9231)
  • web (React Router SSR - Port 3000) - Optional

Common Service Template

Shared Configuration

x-service-common: &service-common
  networks:
    - projectx-network
  restart: unless-stopped
  volumes:
    - .:/app
    - /app/node_modules

All services inherit from this base configuration to ensure consistency.

NestJS Service Pattern

Standard NestJS Service

service-name:
  <<: *service-common
  build:
    context: .
    dockerfile: Dockerfile
    target: development
  command: >
    sh -c "pnpm install --frozen-lockfile &&
           pnpm turbo run build --filter=service-name^... &&
           pnpm --filter @projectx/db run prisma:generate &&
           pnpm --filter @projectx/db run prisma:migrate &&
           cd /app/apps/service-name &&
           pnpm start:dev"
  environment:
    - NODE_ENV=development
    - WATCHPACK_POLLING=true
    - CHOKIDAR_USEPOLLING=true
    - CHOKIDAR_INTERVAL=500
  ports:
    - "PORT:PORT"
    - "DEBUG_PORT:DEBUG_PORT"
  depends_on:
    db:
      condition: service_healthy
    temporal:
      condition: service_healthy

Build Process for Apps

  1. Install dependencies with pnpm install --frozen-lockfile
  2. Build package dependencies with Turborepo filter
  3. Generate Prisma client
  4. Run Prisma migrations
  5. Start service in watch mode

Environment Variables for Apps

Common Variables

environment:
  - NODE_ENV=development
  - DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:${POSTGRES_PORT}/${POSTGRES_DB}
  - TEMPORAL_HOST=temporal:7233
  - TEMPORAL_NAMESPACE=${TEMPORAL_NAMESPACE:-default}

File Watching (Hot Reload)

environment:
  - WATCHPACK_POLLING=true
  - CHOKIDAR_USEPOLLING=true
  - CHOKIDAR_INTERVAL=500

These enable hot reload in Docker containers.

Read the full file on GitHub · 177 lines

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. 3mo ago First seen · 177 lines · 0 tokens per session scan A be5e4cbd4de9

Subscribe to this mod's changes

docker-apps is a cursor rule published in the GitHub repository proyecto26/projectx (83 stars, last pushed 14d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,347 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

docker-apps compared with cursor rules from other repositories

docker-apps next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docker-appsproyecto26/projectxCursor rule8314d agoMITA0Cursor
aws-ecssanjeed5/awesome-cursor-rules-mdcCursor rule3.6k7d agoCC0-1.0A2,640Cursor
python-containerization-cursorrules-prompt-filePatrickJS/awesome-cursorrulesCursor rule41k6mo agoCC0-1.0A56Cursor
vibes-plug-devopsroedyrustam/vibes-plugCursor rule1293d agoMITA0Cursor
cabloy-governancecabloy/cabloyCursor rule9872d agoMITC6,317Cursor
dockerlacymorrow/paperclip-hubCursor rule16yesterdayMITA0Cursor
hackhack-dance/hackCursor rule9yesterdayMITA1,486Cursor