Skip to content

Latest commit

 

History

History

spring-boot-docker-compose-demo

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Spring Boot Docker Compose Support

This project is a simple example of how to use Docker Compose with Spring Boot.

Spring Boot Docker Compose Support

Requirements

  • JDK 17 or higher
  • Docker and Docker Compose

Running the application

  1. Clone the repository
  2. Run Application.java in your IDE
  3. or run the following command in the project root directory:
    ./mvnw spring-boot:run
  4. Run tests with the following command:
    ./mvnw test