I want to run an API via a tomcat server locally. The API lies on top of a mongodb. The tomcat as well as the mongodb are running in a docker container each. This is the doc