35 lines
667 B
YAML
35 lines
667 B
YAML
|
|
spring:
|
||
|
|
profiles:
|
||
|
|
active: dev
|
||
|
|
|
||
|
|
jasypt:
|
||
|
|
encryptor:
|
||
|
|
password: ${JASYPT_PASSWORD:}
|
||
|
|
|
||
|
|
#密码加密传输,前端公钥加密,后端私钥解密
|
||
|
|
rsa:
|
||
|
|
private_key: ${RSA_PRIVATE_KEY:}
|
||
|
|
|
||
|
|
# Actuator & Micrometer 默认配置
|
||
|
|
management:
|
||
|
|
endpoints:
|
||
|
|
web:
|
||
|
|
exposure:
|
||
|
|
include: health,info,metrics,prometheus,env,beans,threaddump,loggers,configprops
|
||
|
|
endpoint:
|
||
|
|
health:
|
||
|
|
show-details: always
|
||
|
|
metrics:
|
||
|
|
tags:
|
||
|
|
application: ${spring.application.name:platform}
|
||
|
|
|
||
|
|
|
||
|
|
# Springdoc 默认配置
|
||
|
|
springdoc:
|
||
|
|
api-docs:
|
||
|
|
enabled: true
|
||
|
|
swagger-ui:
|
||
|
|
enabled: true
|
||
|
|
path: /swagger-ui.html
|
||
|
|
packages-to-scan: com.yfd.platform
|