49 lines
1.3 KiB
YAML
49 lines
1.3 KiB
YAML
server:
|
|
port: 8203
|
|
|
|
mybatis-plus:
|
|
configuration:
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
type-enums-package: com.atguigu.ssyx.enums
|
|
spring:
|
|
datasource:
|
|
type: com.zaxxer.hikari.HikariDataSource
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
url: jdbc:mysql://82.157.68.223:3306/shequ-product?characterEncoding=utf-8&useSSL=false
|
|
username: shequ-product
|
|
password: shequ-product
|
|
rabbitmq:
|
|
host: 43.143.164.194
|
|
port: 5672
|
|
username: guest
|
|
password: guest
|
|
publisher-confirm-type: CORRELATED #发布确认模式,消息是否被成功发送到交换机
|
|
publisher-returns: true
|
|
listener:
|
|
simple:
|
|
prefetch: 1
|
|
concurrency: 3
|
|
acknowledge-mode: manual #消费端手动确认
|
|
redis:
|
|
host: 82.157.68.223
|
|
port: 6379
|
|
database: 0
|
|
timeout: 1800000
|
|
password:
|
|
lettuce:
|
|
pool:
|
|
max-active: 20 #最大连接数
|
|
max-wait: -1 #最大阻塞等待时间(负数表示没限制)
|
|
max-idle: 5 #最大空闲
|
|
min-idle: 0 #最小空闲
|
|
jackson:
|
|
date-format: yyyy-MM-dd HH:mm:ss
|
|
time-zone: GMT+8
|
|
|
|
aliyun:
|
|
endpoint: oss-cn-beijing.aliyuncs.com
|
|
keyid: LTAI5tHWGPq6o62dMMV1hn1i
|
|
keysecret: FyUK59nlI0bf1MFHLuEvtBwXl2CJjA
|
|
bucketname: ssyx-yovinchen
|
|
|