63 lines
1.2 KiB
YAML
63 lines
1.2 KiB
YAML
server:
|
|
port: 8084
|
|
|
|
spring:
|
|
application:
|
|
name: manage-app
|
|
r2dbc:
|
|
url: r2dbc:postgresql://localhost:55432/manage_system
|
|
username: novalon
|
|
password: novalon123
|
|
pool:
|
|
initial-size: 5
|
|
max-size: 20
|
|
max-idle-time: 30m
|
|
max-life-time: 1h
|
|
acquire-timeout: 5s
|
|
flyway:
|
|
enabled: true
|
|
locations: classpath:db/migration
|
|
baseline-on-migrate: true
|
|
validate-on-migrate: true
|
|
sql:
|
|
init:
|
|
mode: never
|
|
security:
|
|
user:
|
|
name: disabled
|
|
password: disabled
|
|
|
|
management:
|
|
endpoints:
|
|
web:
|
|
exposure:
|
|
include: health,info,metrics,env,loggers
|
|
base-path: /actuator
|
|
endpoint:
|
|
health:
|
|
show-details: always
|
|
metrics:
|
|
tags:
|
|
application: ${spring.application.name}
|
|
environment: ${spring.profiles.active}
|
|
|
|
logging:
|
|
level:
|
|
cn.novalon.manage: DEBUG
|
|
org.springframework.r2dbc: DEBUG
|
|
cn.novalon.manage.db: DEBUG
|
|
org.flywaydb: INFO
|
|
|
|
springdoc:
|
|
api-docs:
|
|
path: /api-docs
|
|
enabled: true
|
|
swagger-ui:
|
|
path: /swagger-ui.html
|
|
enabled: true
|
|
tags-sorter: alpha
|
|
operations-sorter: alpha
|
|
show-actuator: false
|
|
default-consumes-media-type: application/json
|
|
default-produces-media-type: application/json
|