提交 97d53c58 authored 作者: liuhaiquan's avatar liuhaiquan

注释yml文件

上级 b4c05d0e
server:
port: 8081
spring:
rabbitmq:
host: 39.101.187.243
port: 5672
username: clxmq
password: clxmq711
redis:
host: 47.92.223.27
port: 6379
password: clx!2022clx
jedis:
pool:
max-idle: 100
min-idle: 1
max-active: 1000
max-wait: -1
datasource:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://rm-8vb9qx47d6dh4b9s25o.mysql.zhangbei.rds.aliyuncs.com:3306/clx_performance?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT
username: clxdevelop
password: CLXdevelop#20231
druid:
initial-size: 4
min-idle: 4
max-active: 8
max-wait: 10000
# 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
time-between-eviction-runs-millis: 60000
# 配置一个连接在池中最小生存的时间,单位是毫秒
min-evictable-idle-time-millis: 1800000
validation-query: SELECT 1
test-while-idle: true
test-on-borrow: false
test-on-return: false
# 是否缓存preparedStatement,也就是PSCache。
pool-prepared-statements: true
# 要启用PSCache,必须配置大于0,当大于0时,poolPreparedStatements自动触发修改为true。
max-pool-prepared-statement-per-connection-size: 20
filters: stat,wall
# filter相关配置
filter:
stat:
enabled: true
db-type: mysql
log-slow-sql: true
slow-sql-millis: 500
merge-sql: true
slf4j:
enabled: true
statement-log-error-enabled: true
statement-create-after-log-enabled: false
statement-close-after-log-enabled: false
result-set-open-after-log-enabled: false
result-set-close-after-log-enabled: false
web-stat-filter:
enabled: true
url-pattern: /*
exclusions: "/druid/*"
session-stat-enable: true
session-stat-max-count: 1000
# 监控页面相关配置
stat-view-servlet:
enabled: true
allow: ""
url-pattern: /druid/*
reset-enable: false
login-username: clx
login-password: Apm!Q@Wm888
aop-patterns: "com.msl.report.dao.*"
xxl:
job:
admin:
address: http://job.devclx.cn/xxl-job
executor:
access-token: default_token
app-name: clx-performance
log-path: ./logs/clx-performance/job/
log-retention-days: 15
# Sa-Token配置
sa-token:
# token名称 (同时也是cookie名称)
token-name: token
# token有效期,单位s 默认30天, -1代表永不过期
timeout: 2592000
# token临时有效期 (指定时间内无操作就视为token过期) 单位: 秒,默认-1 代表不限制 (例如可以设置为1800代表30分钟内无操作就过期)
activity-timeout: -1
# 是否允许同一账号并发登录 (为true时允许一起登录, 为false时新登录挤掉旧登录)
is-concurrent: true
# 在多人登录同一账号时,是否共用一个token (为true时所有登录共用一个token, 为false时每次登录新建一个token)
is-share: false
# token风格
token-style: simple-uuid
# 是否打印操作日志
is-log: false
# 是否在初始化配置时打印版本字符画
is-print: false
alone-redis:
# Redis数据库索引(默认为0)
database: 0
# Redis服务器地址
host: 192.168.9.30
# Redis服务器连接端口
port: 6379
# Redis服务器连接密码(默认为空)
password: clx!2022clx
# 连接超时时间
timeout: 10s
# 日志级别
logging:
level:
root: INFO
mybatis-plus:
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
#中交兴路
gps:
zhongjiao:
user: bd63d655-f5d1-4724-8086-0db2858fcd43
pwd: iBJ5Y079u234jl985ICV81Y3j4zg37
srt: 1db92c4e-8380-4436-a010-5d0fef214947
cid: 9dae7170-476a-4a2a-8a9e-3bca075ac9da
#server:
# port: 8081
#
#spring:
# rabbitmq:
# host: 39.101.187.243
# port: 5672
# username: clxmq
# password: clxmq711
#
# redis:
# host: 47.92.223.27
# port: 6379
# password: clx!2022clx
# jedis:
# pool:
# max-idle: 100
# min-idle: 1
# max-active: 1000
# max-wait: -1
#
# datasource:
# driver-class-name: com.mysql.jdbc.Driver
# url: jdbc:mysql://rm-8vb9qx47d6dh4b9s25o.mysql.zhangbei.rds.aliyuncs.com:3306/clx_performance?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT
# username: clxdevelop
# password: CLXdevelop#20231
#
# druid:
# initial-size: 4
# min-idle: 4
# max-active: 8
# max-wait: 10000
# # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
# time-between-eviction-runs-millis: 60000
# # 配置一个连接在池中最小生存的时间,单位是毫秒
# min-evictable-idle-time-millis: 1800000
# validation-query: SELECT 1
# test-while-idle: true
# test-on-borrow: false
# test-on-return: false
# # 是否缓存preparedStatement,也就是PSCache。
# pool-prepared-statements: true
# # 要启用PSCache,必须配置大于0,当大于0时,poolPreparedStatements自动触发修改为true。
# max-pool-prepared-statement-per-connection-size: 20
# filters: stat,wall
# # filter相关配置
# filter:
# stat:
# enabled: true
# db-type: mysql
# log-slow-sql: true
# slow-sql-millis: 500
# merge-sql: true
# slf4j:
# enabled: true
# statement-log-error-enabled: true
# statement-create-after-log-enabled: false
# statement-close-after-log-enabled: false
# result-set-open-after-log-enabled: false
# result-set-close-after-log-enabled: false
#
# web-stat-filter:
# enabled: true
# url-pattern: /*
# exclusions: "/druid/*"
# session-stat-enable: true
# session-stat-max-count: 1000
# # 监控页面相关配置
# stat-view-servlet:
# enabled: true
# allow: ""
# url-pattern: /druid/*
# reset-enable: false
# login-username: clx
# login-password: Apm!Q@Wm888
# aop-patterns: "com.msl.report.dao.*"
#
#xxl:
# job:
# admin:
# address: http://job.devclx.cn/xxl-job
# executor:
# access-token: default_token
# app-name: clx-performance
# log-path: ./logs/clx-performance/job/
# log-retention-days: 15
#
## Sa-Token配置
#sa-token:
# # token名称 (同时也是cookie名称)
# token-name: token
# # token有效期,单位s 默认30天, -1代表永不过期
# timeout: 2592000
# # token临时有效期 (指定时间内无操作就视为token过期) 单位: 秒,默认-1 代表不限制 (例如可以设置为1800代表30分钟内无操作就过期)
# activity-timeout: -1
# # 是否允许同一账号并发登录 (为true时允许一起登录, 为false时新登录挤掉旧登录)
# is-concurrent: true
# # 在多人登录同一账号时,是否共用一个token (为true时所有登录共用一个token, 为false时每次登录新建一个token)
# is-share: false
# # token风格
# token-style: simple-uuid
# # 是否打印操作日志
# is-log: false
# # 是否在初始化配置时打印版本字符画
# is-print: false
#
# alone-redis:
# # Redis数据库索引(默认为0)
# database: 0
# # Redis服务器地址
# host: 192.168.9.30
# # Redis服务器连接端口
# port: 6379
# # Redis服务器连接密码(默认为空)
# password: clx!2022clx
# # 连接超时时间
# timeout: 10s
#
#
## 日志级别
#logging:
# level:
# root: INFO
#mybatis-plus:
# configuration:
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
#
#
##中交兴路
#gps:
# zhongjiao:
# user: bd63d655-f5d1-4724-8086-0db2858fcd43
# pwd: iBJ5Y079u234jl985ICV81Y3j4zg37
# srt: 1db92c4e-8380-4436-a010-5d0fef214947
# cid: 9dae7170-476a-4a2a-8a9e-3bca075ac9da
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论