Spring docker volume and autoloading

I really want to use docker containers for development with java.

Actually I have a "good" image using phusion / baseimage and JAVA 8, gradle and git inside it.

Actually it works well and I can connect via SSH.

With the volume, I can work in the container directory from my real host.

I wanted to know if I can start the tomcat server embedded in SpringBoot from container directly from IntelliJ for example?

So I can easily reload / reload it without opening an ssh prompt, gradle build with command line on every modification, etc.

+3


source to share





All Articles