/Spring-Boot-Docker-Swagger

Simple "HelloWorld" Java Spring Boot, Docker and Swagger Project.

Primary LanguageJava

Spring-Boot-Docker-Swagger

Simple "HelloWorld" Java Spring Boot, Docker and Swagger Project. This simple spring-boot project that you can run and debug with docker container and show your api list via swagger.

  • Add "Docker integration" plugin intelliJ IDEA. (File -> Settings -> Plugins) Screenshot from 2019-06-28 17-34-41
  • Configure Docker (-> Edit Configuration) docker-confg
    • Bind your "Dockerfile" export ports (8083 -> application running port, 5005 -> application debug port)
  • Configure Docker (-> Remote Debug) debug
  • Run Docker and publish your app on docker container. spring1
  • Debug your app that is running docker container debugger
  • Swagger View localhost_8083_swagger-ui html