All checks were successful
continuous-integration/drone/push Build is passing
- Introduce `TestSecurityConfig` to simplify JWT usage in test environments. - Update integration tests to import `TestSecurityConfig`. - Split environment-specific configurations into new `application-dev.yml` and `applications-prod.yml` files. - Adjust `docker-compose.yml` for development-specific settings. - Clean up redundant JWT properties in `application.yml`.
28 lines
563 B
YAML
28 lines
563 B
YAML
server:
|
|
port: 8080
|
|
|
|
spring:
|
|
datasource:
|
|
url: jdbc:postgresql://postgres:5432/hemhub
|
|
username: hemhub
|
|
password: hemhub
|
|
jpa:
|
|
hibernate:
|
|
ddl-auto: none
|
|
flyway:
|
|
enabled: true
|
|
security:
|
|
oauth2:
|
|
resourceserver:
|
|
jwt:
|
|
jwk-set-uri: http://host.docker.internal:8081/realms/hemhub/protocol/openid-connect/certs
|
|
springdoc:
|
|
swagger-ui: # (valfritt, behåll om du redan har)
|
|
url: /v3/api-docs
|
|
|
|
logging:
|
|
level:
|
|
org.springframework.security: DEBUG
|
|
org.springframework.security.oauth2: DEBUG
|
|
|