ADR-006 / Decision record

Compose stacks deployed by Ansible; Portainer is read-mostly

One deployment path, with diffs you can review and secrets kept out of Git.

Context
Containers can be deployed from a UI, from CI or from configuration management.
Decision
Docker Compose stacks are deployed by an Ansible role. Portainer is there for looking, not for changing things.
Why
Changes show up as reviewable diffs, secrets are templated in at deploy time rather than committed in plaintext, and there's exactly one way a stack gets deployed.
Trade-off
A quick fix in a UI would be faster in the moment, but it would also be invisible to Git and overwritten by the next deploy.