Planning architecture for tomcat webapp with HA

Hi Everyone,

I am new to docker and this is my first post here so apologies if i missed any forum norms.

Attached image shows our current architecture involving two different tomcat webapps in HA.webapp1 is installed on node1 and node2 which are accessible via load balancer and similarly we have webapp2.

These are windows based VMs and for these webapps we have keep record of log files as well on local host. Also we have an external database that is connected to both webapps.

I have been assigned a task to plan a new infrastructure for deploying and managing these applications through containers.

I am not sure where to start. Should i use docker swarm and in that case how to i manage the local volume. Also if I use local containers how do i connect to external DB?

Any help would be really appreciated.

Thanks in Advance !!