You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.9 KiB
65 lines
1.9 KiB
spring: |
|
datasource: |
|
dynamic: |
|
datasource: |
|
master: |
|
type: com.alibaba.druid.pool.DruidDataSource |
|
driver-class-name: com.mysql.cj.jdbc.Driver |
|
url: jdbc:mysql://172.31.217.20:31868/negative?serverTimezone=GMT%2B8 |
|
username: root |
|
password: ip12341234 |
|
slave: |
|
type: com.alibaba.druid.pool.DruidDataSource |
|
driver-class-name: com.mysql.cj.jdbc.Driver |
|
url: jdbc:mysql://172.31.217.20:31868/open-platform?serverTimezone=GMT%2B8 |
|
username: root |
|
password: ip12341234 |
|
slave2: |
|
type: com.alibaba.druid.pool.DruidDataSource |
|
driver-class-name: com.mysql.cj.jdbc.Driver |
|
url: jdbc:mysql://172.31.217.20:31868/negative?serverTimezone=GMT%2B8 |
|
username: root |
|
password: ip12341234 |
|
druid: |
|
min-evictable-idle-time-millis: 300000 |
|
test-on-borrow: false |
|
test-on-return: false |
|
initial-size: 10 |
|
min-idle: 10 |
|
max-wait: 60000 |
|
pool-prepared-statements: true |
|
test-while-idle: true |
|
validation-query: select 1 |
|
time-between-eviction-runs-millis: 60000 |
|
max-pool-prepared-statement-per-connection-size: 20 |
|
max-active: 100 |
|
# druid监控全局配置 |
|
druid: |
|
stat-view-servlet: |
|
enabled: true |
|
url-pattern: /druid/* |
|
data: |
|
redis: |
|
host: 172.31.217.20 |
|
# 端口,默认为6379 |
|
port: 31707 |
|
# 数据库索引 |
|
database: 1 |
|
# 连接超时时间 |
|
timeout: 10s |
|
|
|
mybatis-plus: |
|
configuration: |
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl |
|
|
|
fdfs: |
|
tracker-list: #TrackerList参数,支持多个 |
|
- 172.31.217.20:32060 |
|
preview-url: http://172.31.217.20:31664 |
|
|
|
springdoc: |
|
group-configs: |
|
- group: 'plugin' |
|
paths-to-match: |
|
- '/api/plugin/**' |
|
- '/login' |