Docker Compose
Moved Out
hold
Docker Compose. Defines multi-container apps in compose.yaml and runs them with docker compose up.
Blurb
Learn how to use Docker Compose to define and run multi-container applications with this detailed introduction to the tool.
Summary
Garden stance: We hold Docker Compose for our estate.
Key points:
| Topic | Notes |
|---|---|
| Files | compose.yaml at repo root or deploy/compose/; pin image digests for anything non-throwaway |
| Secrets | Use env files gitignored; not for prod secret stores |
| Parity | Do not assume Compose service DNS equals K8s Service names |
| Engine | Runs on Docker / Rancher Desktop / Podman compose support |
References
Details
| Topic | Notes |
|---|---|
| Files | compose.yaml at repo root or deploy/compose/; pin image digests for anything non-throwaway |
| Secrets | Use env files gitignored; not for prod secret stores |
| Parity | Do not assume Compose service DNS equals K8s Service names |
| Engine | Runs on Docker / Rancher Desktop / Podman compose support |
References