Cannot connect docker Spring-Boot app with mysql container and flyway in docker-compose
You should replace the host in datasource url
to the ip of docker-machine
. It will look like:
jdbc:mysql://192.168.99.100/dbaccounts
You should replace the host in datasource url
to the ip of docker-machine
. It will look like:
jdbc:mysql://192.168.99.100/dbaccounts