Skip to content

makrandp/springboot-hotreload-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Spring boot app using docker with hot reload

Setup

  • docker-compose up --force-recreate
  • In Eclipse:
    • Go to Run -> Run Configurations -> Java Application -> New
    • Choose org.springframework.boot.devtools.RemoteSpringApplication as the main class
    • Choose hotreload as the project
    • Set http://localhost:8080 to program arguments

Useful Commands

  • docker-compose up --force-recreate -d
  • docker-compose start
  • docker-compose stop
  • docker-compose down --rmi all