When I would like to update an app at the moment, docker-compose down, the version in the docker-compose.yaml is changed, subsequently the app is started and the latest version is running.
Now I would like to update it automatically. It it possible to update the version by passing a variable?
Workaround
At the moment I use sed to update the docker-compose file, but I wonder whether there is an easier approach.