Provide a flexible way to create a tomcat container
cd $HOME
git clone https://github.com/wagnermarques/srv-tomcat.git
cd $HOME/srv-tomcat/bin
./docker-compose-up.sh
cd $HOME/srv-tomcat/apps
mvn archetype:genereate #choose a web archetype or
this repo brings a hellow world web app inside apps dir. You can deploy this web app and skip the creation of the project.
cd $HOME/srv-tomcat/apps/appweb
mvn package
cd $HOME/srv-tomcat/bin
./deploy-all.sh