We have already talked about using environment files to change your application's behavior. Another way that you can do that is to use multiple Docker Compose files. Each file builds on the previous one, extending it and possibly overriding options. This can give you great flexibility in developing your application or adjusting it to fit different environments. This can be done in one of the following two ways:
docker-compose.override.yml. This file is read automatically by
docker-compose. The options in
docker-compose.ymlare applied first and then the options in
docker-compose. You may ...