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.
54 lines
1.7 KiB
54 lines
1.7 KiB
spring:
|
|
datasource:
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
# url: jdbc:mysql://127.0.0.1:3306/yxt_portal?serverTimezone=GMT%2B8&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true&allowMultiQueries=true&rewriteBatchedStatements=true
|
|
url: jdbc:mysql://172.18.0.4:3306/supervise_auth?serverTimezone=GMT%2B8&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true&allowMultiQueries=true&rewriteBatchedStatements=true
|
|
username: root
|
|
password: yxt_mysql_138
|
|
cloud:
|
|
nacos:
|
|
discovery:
|
|
namespace: supervise
|
|
server-addr: 172.18.0.5:8848
|
|
ip: 39.104.100.138
|
|
redis:
|
|
database: 3 # Redis数据库索引(默认为0)
|
|
host: 127.0.0.1
|
|
jedis:
|
|
pool:
|
|
max-active: -1 #连接池最大连接数(使用负值表示没有限制)
|
|
max-idle: 8 #连接池中的最大空闲连接
|
|
max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
|
|
min-idle: 0 # 连接池中的最小空闲连接
|
|
password: 123456
|
|
port: 6379
|
|
timeout: 0 # 连接超时时间(毫秒)
|
|
|
|
image:
|
|
xlsxtmpl: D:/webapps/supervise/xlsx-tmpl/
|
|
upload:
|
|
path: D:/webapps/supervise/static/upload/
|
|
url:
|
|
prefix: https://supervise.yxtsoft.com/downfile/
|
|
login:
|
|
path: D:\\images\\pic-click
|
|
|
|
#hystrix的超时时间
|
|
hystrix:
|
|
command:
|
|
default:
|
|
execution:
|
|
timeout:
|
|
enabled: true
|
|
isolation:
|
|
thread:
|
|
timeoutInMilliseconds: 60000
|
|
#ribbon的超时时间
|
|
ribbon:
|
|
ReadTimeout: 60000
|
|
ConnectTimeout: 60000
|
|
|
|
haiKangConsumer:
|
|
clientId: 67642adbaa8a469d9c40437ede719ee5
|
|
clientSecret: a997f867b6ee442b8bb717da58c8981d
|
|
|
|
|