This enables users of this role to execute `docker-compose stop` instead
of `docker-compose down` on shutdown and speed up the startup. For full
discussion leading to this see: https://git.io/vpIOy
Thanks @EugenMayer for the suggestion!
Signed-off-by: Knut Ahlers <knut@ahlers.me>
docker-compose 1.21.0 deprecated the flag as it is now the default
behaviour. This change removes the flag and therefore the deprecation
warning from the logs
Signed-off-by: Knut Ahlers <knut@ahlers.me>
Previously restarting docker.service (e.g. on an update) caused
docker-compose to be shut down and not being restarted. This caused
services started by docker-compose not to be started and the system to
have no running containers. This fix chains docker-compose directly to
docker and therefore systemd will start docker-compose when docker comes
up again.
Signed-off-by: Knut Ahlers <knut@ahlers.me>