docker-compose

docker-compose is a command for coding agents from aborroy/aiup-alfresco. It costs 10 tokens per session (1,854 once invoked), scanned A, original, Apache-2.0.

A generator for a Docker Compose file that starts an Alfresco Content Services stack, a group of content-management services run together with Docker.

In plain words
What is it for?
Creating a compose.yaml with Alfresco, PostgreSQL, ActiveMQ, document transformation, and search services, plus optional user-interface, proxy, and event-handler services.
Why use it?
It removes the need to write the service definitions, health checks, startup dependencies, and persistent storage settings by hand.

Command

Part of the aiup-alfresco plugin — 39 skills, 14 commands, 3 agents shipped together

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/aborroy/aiup-alfresco/docker-compose
Clone the repo
git clone --depth 1 https://github.com/aborroy/aiup-alfresco

Or install aiup-alfresco, the plugin that ships this one along with the rest of its 39 skills, 14 commands, 3 agents.

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-compose

README.md
[![agentmods](https://agentmods.dev/badge/commands/aborroy/aiup-alfresco/docker-compose.svg)](https://agentmods.dev/commands/aborroy/aiup-alfresco/docker-compose)
Your own site
<a href="https://agentmods.dev/commands/aborroy/aiup-alfresco/docker-compose"><img src="https://agentmods.dev/badge/commands/aborroy/aiup-alfresco/docker-compose.svg" alt="Measured on agentmods" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,854 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00010 $0.01854
Opus 5 $0.00005 $0.00927
Sonnet 5 $0.00002 $0.00371
Haiku 4.5 $0.00001 $0.00185

Measured 4d ago against content hash 46187f376524, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

docker-compose 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 4d 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-SHELL", "curl -s -o /dev/null -w '%{http_code}' http://localhost:8080/share/ | grep -qE '^[23]'"]
commands/docker-compose.md · 154 lines

How it starts

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

/docker-compose — Docker Compose Generator

Generate a complete compose.yaml for an Alfresco Content Services stack.

Input

  • ACS version from "$ARGUMENTS" or default to 26.1
  • Read REQUIREMENTS.md for any deployment-specific requirements
  • Resolve the Root path values from Section 2 (Project Architecture)

Output File

compose.yaml at project root.

Required Services

Core

  • alfresco — ACS repository (with extension JAR mounted or built into image)
  • postgres — PostgreSQL database
  • activemq — Apache ActiveMQ message broker

Transform

  • transform-core-aio — All-in-one Transform Service

Search (choose one based on requirements)

  • elasticsearch — for Search Enterprise
  • solr6 — for Solr-based search

Optional

  • share — Share UI (if content model forms are needed)
  • proxy — Nginx or similar reverse proxy
  • content-app — Alfresco Content App (ACA)
  • {extension-name} — Out-of-Process Spring Boot app (if /events command was used)

Conventions

  • Use Docker Compose v2 format (no version: key)
  • Every service must have a healthcheck
  • Use condition: service_healthy in depends_on
  • Use named volumes for persistent data
  • compose.yaml always lives at the repository root, even in Mixed mode
  • If a Platform JAR project is present, mount or copy its built artifact from the Platform JAR Root path
  • If a Share JAR project is present, add a share service and use the Share project's Root path as the authoritative source for Share-tier resources
  • If a Share JAR project is present, mount or copy src/main/resources/alfresco/web-extension/ and src/main/resources/alfresco/site-webscripts/ from the Share project into the Share container
  • If an Aikau customization generates src/main/resources/META-INF/resources/, ensure those client-side resources are also copied into the Share image or otherwise made available to Share's webapp classpath/static resources
  • If an Out-of-Process Spring Boot app is present, add it as a service that depends on activemq and alfresco with condition: service_healthy
  • If an Out-of-Process Spring Boot app is present, its build: context must point to the Event Handler Root path from REQUIREMENTS.md (. for Event Handler only mode, {name}-events/ for Mixed mode)
  • Never assume the Platform JAR, Share JAR, and Event Handler share the same build context or the same deployable artifact
  • Never mount Share resources into the alfresco service, and never mount repository module resources into the share service
  • Service start order — the alfresco service must depend on postgres, activemq, and transform-core-aio only. Never add solr6 or elasticsearch to alfresco's depends_on — Solr/OpenSearch discovers ACS after startup; making ACS wait for them creates a circular dependency (alfresco → solr6 → alfresco).

Read the full file on GitHub · 154 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. 4d ago First seen · 154 lines · 10 tokens per session scan A 46187f376524

Subscribe to this mod's changes

docker-compose is a command published in the GitHub repository aborroy/aiup-alfresco (13 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 10 tokens to every session and 1,854 once invoked, about $0.0001 per session on Opus 5. 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.