Docker and CI/CD · Middle · Question 15 of 75
What is compose.override.yaml used for?
- 1Replacing
compose.yamlcompletely in production - ✓Correct answer: Local tweaks merged over
compose.yamlautomatically - 3Overriding the image tags pushed to the registry
Explanation
Typical overrides add bind mounts, debug ports or dev commands. For other environments, pass files explicitly: -f compose.yaml -f compose.prod.yaml.