Relative Content

Tag Archive for javaspringspring-bootdocker

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.