Currently, I am using Testcontainer to implement integration testing for database in spring boot. How do I init the Testcontainer with the application.yml. I don't want to use @DynamicPropertySource.
public static PostgreSQLContainer container = new PostgreSQLContainer("postgres:12")
spring:
datasource:
driverClassName: org.postgresql.Driver
url: jdbc:postgresql://localhost:5432/db
username: user
password: password