fix(backend): Fix testcontainers configuration

This commit is contained in:
2025-11-17 11:05:43 +01:00
parent c23c4dcea2
commit 53b3e944b4
2 changed files with 18 additions and 3 deletions

View File

@@ -2,6 +2,13 @@ spring:
application:
name: legalconsenthub
datasource:
hikari:
auto-commit: false
url: jdbc:postgresql://localhost:5432/legalconsenthub
username: legalconsenthub
password: legalconsenthub
jpa:
database-platform: org.hibernate.dialect.PostgreSQLDialect
hibernate:
@@ -25,6 +32,13 @@ spring:
init:
platform: postgresql
security:
oauth2:
resourceserver:
jwt:
issuer-uri: http://localhost:7080/realms/legalconsenthub
jwk-set-uri: http://localhost:7080/realms/legalconsenthub/protocol/openid-connect/certs
logging:
level:
org:

View File

@@ -3,6 +3,7 @@ spring:
name: legalconsenthub
datasource:
hikari:
auto-commit: false
url: ${LEGALCONSENTHUB_DB_URL}
username: ${LEGALCONSENTHUB_DB_APP_USER}
@@ -35,5 +36,5 @@ spring:
oauth2:
resourceserver:
jwt:
issuer-uri: ${SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_ISSUER_URI:http://localhost:7080}
jwk-set-uri: ${SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_JWK_SET_URI:http://localhost:7080}
issuer-uri: ${SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_ISSUER_URI}
jwk-set-uri: ${SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_JWK_SET_URI}