Is it possible to do "abort-on-container-exit" directly in file with docker-compose?

  containers, docker, docker-compose

I am using docker-compose with 2 containers and I want to stop all the containers if one is stopped.

It’s going well so far with

docker-compose up –abort-on-container-exit

but It would be better if I could just use

docker-compose up

and have this –abort-on-container-exit already defined in the docker-compose.yml file

Is it possible ?

Thank you

Source: Docker Questions