docker-compose

A guide for running and inspecting a development environment defined with Docker Compose. Docker Compose starts related services, such as an application, database, cache, or background worker, together.

In plain words
What is it for?
Start and stop services, inspect logs, open a shell in a container, reset the database, and understand how the development services fit together.
Why use it?
It provides the project-specific commands and service map needed to operate the environment without guessing which container or command to use.

Skill for Claude CodeCodex

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 skills/tedivm/robs_awesome_python_template/docker-compose
Any agent
npx skills add tedivm/robs_awesome_python_template --skill docker-compose
Clone the repo
git clone --depth 1 https://github.com/tedivm/robs_awesome_python_template

Made for: Claude Code, Codex.

Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 796 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.00039 $0.00796
Opus 5 $0.00019 $0.00398
Sonnet 5 $0.00008 $0.00159
Haiku 4.5 $0.00004 $0.00080

Measured 2d ago against content hash 3a75cef74f99, 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 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 2d 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.

{{cookiecutter.__package_slug}}/.agents/skills/docker-compose/SKILL.md · 135 lines

How it starts

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

Docker Compose Development Environment

context7: If the mcp_context7 tool is available, resolve and load the full Docker Compose documentation before modifying compose.yaml or using advanced CLI options:

mcp_context7_resolve-library-id: "docker compose"
mcp_context7_get-library-docs: /docker/compose

The development environment runs entirely through Docker Compose. All services are defined in compose.yaml.


Services

{%- if cookiecutter.include_fastapi == "y" %} | www | FastAPI application server | {%- endif %} {%- if cookiecutter.include_celery == "y" %} | celery-scheduler | Celery Beat scheduler for periodic tasks | | celery-node | Celery worker for background tasks | {%- endif %} {%- if cookiecutter.include_quasiqueue == "y" %} | qq | QuasiQueue multiprocessing runner | {%- endif %} {%- if cookiecutter.include_sqlalchemy == "y" %} | db | PostgreSQL database | {%- endif %} {%- if cookiecutter.include_celery == "y" or cookiecutter.include_aiocache == "y" %} | redis | Redis cache / task broker | {%- endif %}


Essential Commands

Start / Stop

# Start all services in the background
docker compose up -d

# Start with live rebuild on file changes
docker compose up --watch

# Stop all services (preserves volumes — data is retained)
docker compose down

# Stop all services AND remove volumes (full reset — destroys all data)
docker compose down --volumes --remove-orphans

# Restart all services without destroying containers or volumes
docker compose restart

# Restart a single service
docker compose restart www

Logs

# View recent logs from all services
docker compose logs

# Follow (tail) logs from all services in real-time
docker compose logs -f

# Follow logs from a specific service
docker compose logs -f www

Status and Inspection

# List running services and their status
docker compose ps

# Open a bash shell inside a running service
docker compose exec www bash

Read the full file on GitHub · 135 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. 2d ago First seen · 135 lines · 39 tokens per session scan A 3a75cef74f99

Subscribe to this mod's changes

docker-compose is a skill published in the GitHub repository tedivm/robs_awesome_python_template (309 stars, last pushed 3mo ago), licensed MIT. It adds 39 tokens to every session and 796 once invoked, about $0.0002 per session on Opus 5. 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.

Related

Other skills, from other repositories

verify

Verify a Txtify change end-to-end. Use before committing any nontrivial change, when asked to "verify", "test this", or "make sure nothing breaks", and always after touching the worker/transcription path, dependencies, or the Dockerfile.

lkmeta/txtify · 54 tokens

cortex-deploy

Cortex deployment — Docker Compose, envcheck.sh, CORTEX env vars, EC2/rsync, logs. Use for production setup, container config, or server debugging.

synpulse8-opensource/pulse8-ai-cortex-knowledge-vault · 43 tokens

容器任务流程

容器任务的创建与管理流程指南,L1 创建/管理容器任务时加载。涵盖容器创建、workspace 决策、进度触发器、方案不可变原则、失败处理与工作空间规则、容器管理规则。.

jianchen08/Agent-os-open · 60 tokens

deep-research

深度研究编排方法论:澄清范围、拆解规划、并行调度子智能体调研、对抗式核验、综合成带引用的结构化报告。当任务需要多来源、可追溯、需事实核查的深度研究时使用此技能。.

xerrors/Yuxi · 69 tokens

mysql reporter

生成 MySQL 查询报表并生成可视化图表。当用户需要查询 MySQL 数据库并以报表形式展示结果时使用此技能,包括:统计销售数据、分析用户行为、生成业务报表、查询业务指标等。.

xerrors/Yuxi · 55 tokens

knowledge-base

使用 Yuxi 知识库进行检索、打开文档、文档内定位和查看思维导图。当用户需要基于已配置知识库回答问题、核验资料或引用文档内容时使用此技能。.

xerrors/Yuxi · 54 tokens