For further reference, please consider the following sections:
- Official Apache Maven documentation
- Spring Boot Maven Plugin Reference Guide
- Create an OCI image
- Spring Boot Testcontainers support
- Testcontainers MongoDB Module Reference Guide
- Testcontainers Kafka Modules Reference Guide
- Testcontainers Postgres Module Reference Guide
- Docker Compose Support
- Spring Web
- Spring Data JPA
- Flyway Migration
- Spring Data MongoDB
- Apache Kafka Streams Support
- Apache Kafka Streams Binding Capabilities of Spring Cloud Stream
- Spring Boot Actuator
- Testcontainers
The following guides illustrate how to use some features concretely:
- Building a RESTful Web Service
- Serving Web Content with Spring MVC
- Building REST services with Spring
- Accessing Data with JPA
- Accessing Data with MongoDB
- Samples for using Apache Kafka Streams with Spring Cloud stream
- Building a RESTful Web Service with Spring Boot Actuator
This project contains a Docker Compose file named compose.yaml
.
In this file, the following services have been defined:
- mongodb:
mongo:latest
- postgres:
postgres:latest
Please review the tags of the used images and set them to the same as you're running in production.