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.

58 lines
1.6 KiB

2 months ago
server:
port: 8501
mybatis-plus:
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 查看日志
feign:
sentinel:
enabled: true
spring:
main:
allow-bean-definition-overriding: true #当遇到同样名字的时候,是否允许覆盖注册
cloud:
openfeign:
lazy-attributes-resolution: true #开启懒加载,否则启动报错
client:
config:
default:
connectTimeout: 30000
readTimeout: 30000
loggerLevel: basic
data:
redis:
host: 192.168.176.125
port: 6379
database: 0
timeout: 1800000
password:
jedis:
pool:
max-active: 20 #最大连接数
max-wait: -1 #最大阻塞等待时间(负数表示没限制)
max-idle: 5 #最大空闲
min-idle: 0 #最小空闲
rabbitmq:
host: 192.168.176.125
port: 5672
username: guest
password: guest
datasource:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://192.168.176.125:3306/class_roll?characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true
username: root
password: root
hikari:
connection-test-query: SELECT 1
connection-timeout: 60000
idle-timeout: 500000
max-lifetime: 540000
maximum-pool-size: 10
minimum-idle: 5
pool-name: GuliHikariPool
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
seata:
tx-service-group: daijia_tx_group
enable-auto-data-source-proxy: false