☁️ DevOps & Cloud · Containers
Spin up reproducible local environments
One command brings up app plus dependencies with seeded data and sane defaults.
foundation~25 minDevOps EngineersSREsCloud Architects
Steps
- 1Compose file includes app, database, cache, queue with healthchecks
- 2Mount code for live reload; keep volumes out of production paths
- 3Seed scripts run automatically on first boot, idempotent after
- 4.env.example documents every variable; fail fast on missing ones
- 5Pin service versions; document the one-command README entry
- 6Add make targets: up, down, logs, reset-db
Common Pitfalls
- ▲Ports colliding with other projects; parameterize via env
- ▲Seed data drifting from production shapes
Commands
Install with skills CLI
$ npx skills add aniruddhaadak80/skills --skill containers-compose-local-envInstall globally
$ npx skills add aniruddhaadak80/skills --skill containers-compose-local-env -gTags
#docker-compose#dx#devops-cloud#containers