One could apply our workshop ( https://testcontainers.gitbook.io/workshop/ ) to the Spring Boot example ( https://github.com/testcontainers/testcontainers-java/tree/master/examples/spring-boot ) 1) add PostgreSQL database to that example 2) use [the JDBC URL support](https://www.testcontainers.org/usage/database_containers.html#jdbc-url) and set it as a property in `@SpringBootTest` annotation 3) start Redis with `static { }` block, set system properties to wire it
One could apply our workshop ( https://testcontainers.gitbook.io/workshop/ ) to the Spring Boot example ( https://github.com/testcontainers/testcontainers-java/tree/master/examples/spring-boot )
@SpringBootTestannotationstatic { }block, set system properties to wire it