Overrides, Profiles, and Safe Configuration
One stack, two environments, optional extras that cost nothing when unused — and a database password that stops living in the file.
Project labintermediate~40 minFree
What you'll do
- ✓Split a Compose file into shape and environment
- ✓Keep optional services off until they are asked for
- ✓Move a secret out of environment values into a file
Lab outline
- 01Split
- 02Profiles
- 03Secrets
Before you start
- Compose the Service Stack
Every lab runs on a real machine of your own in the browser — no installs, nothing to clean up — and checks your work automatically as you go.