Added environment variable to set docker-compose down options#4
Added environment variable to set docker-compose down options#4Corneel-D wants to merge 9 commits into
Conversation
|
I have three remarks about this PR. My most major remark is that the change is not backward compatible. When the new env variable is not set, the program crashes: Secondly, I think there should be support to include the parameters in quotes. Lastly, I am slightly concerned about the ability to perform injected commands from within the docker-compose.yml file. For example, setting I may prefer the option to add a flag |
|
|
I have split up the options into different environment variables:
|
Added an environment variable
DOCKER_COMPOSE_DOWN_OPTIONSto set the docker-compose down options for our services. This makes it possible to e.g. easily remove all named volumes when stopping our services.