- This is a sample docker compose model to make an communication or link between apache -> tomcat -> mysql.
- I've added sample web application war files in tomcat/ directory, which are placed inside tomcat/webapps directory in tomcat container.
- Docker compose - used to run multi container docker application.
-
Clone this url
-
build and configure docker containers for httpd, tomcat and mysql\n
- docker-compose up
-
Check it in browser
-
To stop these containers
- docker-compose down