I need to deploy my application in an embedded solution (running on a raspberry pi zero). As such, I only really can deploy things on localhost. I am not too familiar with virtual hosts, so I may be wrong on this.
My problem is that I want tomcat to auto-deploy the war file that is contained within the git repository I cloned onto the raspberry pi. This is so that updates can be made over the git respository easily instead of having to deal with the manager. That being said, I also like to keep the manager and other admin tools active and working which are contained within the default webapps directory. Copying these into the git repository is not something i want to do as they will be misplaced and kept in the repository which is not necessary. Furthermore, I want tomcat to "explode" or extract the WAR files in the original webapps directory, as to not add these files to the git repository.
Basically I want to be able to auto-deploy all war files in a certain directory without that directory being actually being written to and while also auto-deploying the war files in the "standard" webapps directory.
Is this possible?
Im using tomcat9