server:
|
|
port: 8081
|
|
servlet:
|
|
context-path: /api
|
|
forward-headers-strategy: framework # nginx reverse proxy
|
|
logging.level:
|
|
'[org.springframework.web]': debug
|
|
####### resource server configuration properties
|
|
spring:
|
|
jpa.hibernate.ddl-auto: none
|
|
datasource:
|
|
initialization-mode: always
|
|
platform: postgres
|
|
url: jdbc:postgresql://localhost:5432/keycloak
|
|
username: keycloak
|
|
password: keycloak
|
|
security:
|
|
oauth2:
|
|
resourceserver:
|
|
jwt:
|
|
issuer-uri: http://localhost:8080/auth/realms/demorealm
|
|
jwk-set-uri: http://localhost:8080/auth/realms/demorealm/protocol/openid-connect/certs
|