60 lines
1.2 KiB
YAML
60 lines
1.2 KiB
YAML
server:
|
|
port: 8010
|
|
spring:
|
|
application:
|
|
name: app
|
|
|
|
# security:
|
|
# user:
|
|
# name: admin
|
|
# password: pass
|
|
|
|
# Datasource
|
|
datasource:
|
|
# hikari:
|
|
# connection-timeout: 30000
|
|
# minimum-idle: 5
|
|
# maximum-pool-size: 20
|
|
# connection-init-sql: SELECT 1
|
|
# validation-timeout: 5000
|
|
# max-lifetime: 1800000
|
|
# idle-timeout: 600000
|
|
# initialization-fail-timeout: 0
|
|
url: jdbc:postgresql://192.168.2.110:5432/test_db
|
|
username: postgres
|
|
password: ${SPRING_DATASOURCE_PASSWORD}
|
|
driver-class-name: org.postgresql.Driver
|
|
|
|
# JPA
|
|
jpa:
|
|
hibernate:
|
|
# ddl-auto: validate
|
|
show-sql: true
|
|
properties:
|
|
hibernate:
|
|
format_sql: true
|
|
# database: postgres
|
|
database-platform: org.hibernate.dialect.PostgreSQLDialect
|
|
|
|
# Keycloak Security
|
|
security:
|
|
oauth2:
|
|
resourceserver:
|
|
jwt:
|
|
issuer-uri: https://keycloak.dmitriy-churmeev.tech/realms/test_realm
|
|
|
|
provider:
|
|
keycloak:
|
|
issuer-uri: https://keycloak.dmitriy-churmeev.tech/realms/test_realm
|
|
|
|
logging:
|
|
level:
|
|
com.test.test: DEBUG
|
|
org.springframework.security: DEBUG
|
|
|
|
|
|
# Flyway
|
|
flyway:
|
|
enabled: enable
|
|
locations: classpath:db/migration
|
|
baseline-on-migrate: true |