A simple example which combines 2 docker files, one to spin up a mysql container and a java container. Also put together these containers in the same network in order to communicate throughout container name.
mysql java docker dockerfile database communication maven docker-compose docker-image travis mysql-container java-container contaienrs docker-files docker-machine-ip
-
Updated
Jun 7, 2020 - Java