split url-tc + url-tcx with ?TC_REUSABLE=true&TC_DAEMON=true

This commit is contained in:
Michael Hoennig 2024-09-16 09:24:06 +02:00
parent 94f5f1229e
commit 70c64912f0

View File

@ -4,7 +4,8 @@ spring:
platform: postgres
datasource:
url-tc: jdbc:tc:postgresql:15.5-bookworm:///spring_boot_testcontainers?TC_DAEMON=true
url-tc: jdbc:tc:postgresql:15.5-bookworm:///spring_boot_testcontainers
url-tcx: jdbc:tc:postgresql:15.5-bookworm:///spring_boot_testcontainers?TC_REUSABLE=true&TC_DAEMON=true
url-local: jdbc:postgresql://localhost:5432/postgres
url: ${spring.datasource.url-tc}
username: postgres