mirror of
https://gitee.com/orangeform/orange-admin.git
synced 2026-01-17 18:46:36 +08:00
84 lines
2.7 KiB
YAML
84 lines
2.7 KiB
YAML
logging:
|
||
level:
|
||
# 这里设置的日志级别优先于log4j2.xml文件Loggers中的日志级别。
|
||
com.orangeforms: info
|
||
|
||
server:
|
||
port: 9998
|
||
|
||
application:
|
||
# Jwt令牌加密的签名值。该值的长度要超过10个字符(过短会报错)。
|
||
tokenSigningKey: OrangeMultiDemo-uaa-admin
|
||
# Jwt令牌在Http Header中的键名称。
|
||
tokenHeaderKey: Authorization
|
||
# Jwt令牌刷新后在Http Header中的键名称。
|
||
refreshedTokenHeaderKey: RefreshedToken
|
||
# Jwt令牌过期时间(毫秒)。
|
||
expiration: 72000000
|
||
# 跨域的IP(http://192.168.10.10:8086)白名单列表,多个IP之间逗号分隔(* 表示全部信任,空白表示禁用跨域信任)。
|
||
credentialIpList: "*"
|
||
# Session会话和用户权限Redis中的过期时间(秒)。
|
||
sessionExpiredSeconds: 86460
|
||
# 缺省的文件上传根目录。
|
||
uploadFileBaseDir: ./zz-resource/upload-files/uaa-admin
|
||
# 初始化密码。
|
||
defaultUserPassword: 123456
|
||
|
||
sequence:
|
||
# 是否使用基于美团Leaf的分布式Id生成器。
|
||
advanceIdGenerator: true
|
||
# 多个zk服务之间逗号分隔。
|
||
zkAddress: localhost:2181
|
||
# 与本机的ip一起构成zk中标识不同服务实例的key值。
|
||
idPort: 19998
|
||
# zk中生成WorkNode的路径。不同的业务可以使用不同的路径,以免冲突。
|
||
zkPath: com/orangeforms
|
||
|
||
mybatis-plus:
|
||
mapper-locations: classpath:com/orangeforms/*/dao/mapper/*Mapper.xml
|
||
type-aliases-package: com.orangeforms.*.model
|
||
global-config:
|
||
db-config:
|
||
logic-delete-value: -1
|
||
logic-not-delete-value: 1
|
||
|
||
pagehelper:
|
||
helperDialect: mysql
|
||
reasonable: true
|
||
supportMethodsArguments: false
|
||
params: count=countSql
|
||
|
||
spring:
|
||
datasource:
|
||
type: com.alibaba.druid.pool.DruidDataSource
|
||
druid:
|
||
url: jdbc:mysql://localhost:3306/zzdemo-multi?characterEncoding=utf8&useSSL=true&serverTimezone=Asia/Shanghai
|
||
username: root
|
||
password: 123456
|
||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||
name: uaa-admin
|
||
initialSize: 10
|
||
minIdle: 10
|
||
maxActive: 50
|
||
maxWait: 60000
|
||
timeBetweenEvictionRunsMillis: 60000
|
||
minEvictableIdleTimeMillis: 300000
|
||
poolPreparedStatements: true
|
||
maxPoolPreparedStatementPerConnectionSize: 20
|
||
maxOpenPreparedStatements: 20
|
||
validationQuery: SELECT 'x'
|
||
testWhileIdle: true
|
||
testOnBorrow: false
|
||
testOnReturn: false
|
||
connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
|
||
filters: stat,wall
|
||
useGlobalDataSourceStat: true
|
||
web-stat-filter:
|
||
enabled: true
|
||
url-pattern: "/*"
|
||
exclusions: "*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico,/druid/*,/actuator/*"
|
||
stat-view-servlet:
|
||
enabled: true
|
||
urlPattern: /druid/*
|
||
resetEnable: true
|