This is sample web application by using Spring Boot.
$ git clone https://github.com/ryoyakawai/java_gradle_springboot_helloworld.git
$ cd java_gradle_springboot_helloworld
$ docker-compose up --build
Then access to http://localhost:8080
from your web browser.
Link here is explaining what is in this repository. (Japanese only)