Skip to content

How does the docker-compose.override.yml work? #459

Closed Answered by maxhelias
antiftw asked this question in Q&A
Discussion options

You must be logged in to vote

Hi

By default, Compose reads two files, a docker-compose.yml and an optional docker-compose.override.yml file. The override file can contain configuration overrides for existing services or entirely new services.
The Extend functionality allows you to extend a compose file by referring to another Compose file and selecting the bits you want to use in your own application, with the ability to override some attributes.

Doc here : https://docs.docker.com/compose/multiple-compose-files/

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@antiftw
Comment options

Answer selected by antiftw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants