pars-nft/src/main/resources/application-dev.yml
2022-02-25 17:12:38 +08:00

60 lines
1.8 KiB
YAML

spring:
datasource:
type: com.alibaba.druid.pool.DruidDataSource
druid:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://39.108.110.167:13376/2022_pars_nft?autoReconnect=true&useUnicode=true&useSSL=false&serverTimezone=GMT%2B8&characterEncoding=UTF-8
username: root
password: 'szxgl@2001B'
initial-size: 5
max-active: 500
min-idle: 10
max-wait: 60000
pool-prepared-statements: true
max-pool-prepared-statement-per-connection-size: 20
time-between-eviction-runs-millis: 60000
min-evictable-idle-time-millis: 300000
validation-query: 'SELECT 1'
test-while-idle: true
test-on-borrow: false
test-on-return: false
stat-view-servlet:
enabled: true
url-pattern: /druid/*
#login-username: admin
#login-password: admin
filter:
stat:
log-slow-sql: true
slow-sql-millis: 1000
merge-sql: false
wall:
config:
multi-statement-allow: true
servlet:
multipart:
max-file-size: 500MB
max-request-size: 500MB
redis:
database: 0
host: 39.108.110.167
port: 8266
password: 'Qiween@4531871' # 密码
timeout: 6000ms # 连接超时时长(毫秒)
jedis:
pool:
max-active: 1000 # 连接池最大连接数(使用负值表示没有限制)
max-wait: -1ms # 连接池最大阻塞等待时间(使用负值表示没有限制)
max-idle: 10 # 连接池中的最大空闲连接
min-idle: 5 # 连接池中的最小空闲连接
wx:
appid: wx35766a64d73d08a9
project-id: 20202000200020002
api-domain: https://wx.xfhd.net/thirdparty
auth-code: 1a9caed163104e2e9056c58b989347b9
auth-scope: snsapi_userinfo