Skip to content

Example needed: modern Spring Boot example #1137

@bsideup

Description

@bsideup

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 and set it as a property in @SpringBootTest annotation
  3. start Redis with static { } block, set system properties to wire it

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions