The Exception “DockerProcessStartException” comes up when starting my Spring Boot Application
i built my first web application with Spring Boot and wanted to run it / test it locally but when i start my Application it throws the exception:
Unable to start spring microservice using docker compose
Creating spring boot micro-service with config server.
Unable to start spring microservice using docker compose
Creating spring boot micro-service with config server.
Changing between localhost and docker database
I have implemented Docker into my spring boot aplication, in order to use mysql container I need to change my database url. Now when devoloping my application I use localhost:3306
and when creating my docker image I need to use my-mysql:3306
. This seams a bit tedious, what does people do after implementing docker? Thank you.