profiles
Generated from the code · as of CLI 0.6.0
The compose profiles to turn on.
- Type: list of strings
- Required: no
- Default: none
- Errors:
overlay-parse
Each one is passed to compose as --profile. A service that belongs to a profile you have not turned on is not deployed, but it still needs an entry under services, because every service compose defines must be matched. Give it its normal entry, or deploy: false.
profiles: [prod]