fix(backend): Fix testcontainers configuration
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user