AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Docker Compose

skill-gordonmurray-data-engineering-skills-docker-compose · by gordonmurray

Docker Compose V2 and Compose Specification expertise for writing correct compose.yaml and docker-compose.yml files. Use when the user mentions Docker Compose, compose.yaml, docker-compose.yml, docker compose CLI, multi-container apps, profiles, healthchecks, depends_on, networks, volumes, secrets, build contexts, or avoiding deprecated V1 patterns.

No reviews yet
0 installs
24 views
0.0% view→install

Install

$ agentstack add skill-gordonmurray-data-engineering-skills-docker-compose

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-gordonmurray-data-engineering-skills-docker-compose)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Docker Compose? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Docker Compose V2 Expert

Use this skill to write, review, and modernize Docker Compose files using the current Compose Specification and docker compose V2 CLI.

Current Facts

  • The top-level version property is obsolete. Compose keeps it only for backward compatibility and warns when it is used.
  • Compose validates against the most recent schema regardless of version.
  • Use docker compose, not the old standalone docker-compose command, unless supporting a pinned legacy environment.
  • Default file names are compose.yaml and compose.yml; docker-compose.yml remains widely supported.
  • Root-level keys commonly include services, networks, volumes, configs, and secrets.
  • Current example image majors as of June 2026: PostgreSQL 18 and Redis 8. Pin exact patch/minor versions for production.

How To Use

  1. Start with services: and no version: field.
  2. Add only the networks, volumes, secrets, configs, profiles, and build settings required for the user’s workflow.
  3. Use healthchecks plus long-form depends_on when startup readiness matters.
  4. Bind sensitive ports to 127.0.0.1 unless external access is required.

Review Checklist

  • No top-level version:.
  • services: is plural and at the root.
  • Service names are stable and lowercase.
  • Images are pinned for production; avoid latest except in disposable examples.
  • Secrets are not embedded in YAML; use env vars, .env, secret files, or platform secrets.
  • Persistent database state uses named volumes.
  • Development bind mounts are explicit and use :ro when possible.
  • Healthchecks use commands available inside the image.
  • Resource limits are explicit where runaway memory/CPU use is risky.

Common Patterns

  • PostgreSQL: use postgres:18-alpine for current examples unless project requirements say otherwise.
  • Redis: use redis:8-alpine for current examples unless project requirements say otherwise.
  • Internal databases should usually live only on a backend network and avoid host port exposure.
  • Use profiles for optional services such as observability, admin tools, or one-off jobs.
  • Use docker compose config to validate rendered configuration.

Update Checklist

  • Recheck Docker Compose docs for newly added keys such as develop, interface_name, or pull policy support before recommending them.
  • Recheck upstream image tags before refreshing examples.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.