08ea5fbe98
添加用户管理视图、API和状态管理文件
39 lines
790 B
YAML
39 lines
790 B
YAML
server:
|
|
port: 8081
|
|
|
|
spring:
|
|
application:
|
|
name: client-app
|
|
r2dbc:
|
|
url: r2dbc:postgresql://localhost:5432/everything_suitable
|
|
username: ${DB_USERNAME:postgres}
|
|
password: ${DB_PASSWORD:postgres}
|
|
pool:
|
|
initial-size: 10
|
|
max-size: 50
|
|
flyway:
|
|
enabled: true
|
|
locations: classpath:db/migration
|
|
cache:
|
|
type: caffeine
|
|
caffeine:
|
|
spec: maximumSize=1000,expireAfterWrite=5m
|
|
|
|
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:
|
|
io.destiny: DEBUG
|
|
org.springframework.r2dbc: DEBUG |