I have a docker-compose.yml
configuration. In one of the containers there is a Tomcat server and it has some default .war
file deployed in we
Instead of (not) mounting a volume commenting out that line, I would use https://docs.docker.com/compose/extends/#example-use-case to run a service extension that specifies a volume.
I do this to tackle two different problems: