恢复默认配置
parent
459bad335a
commit
7f3d1fb4da
|
@ -8,35 +8,37 @@ spring:
|
|||
max-file-size: 10MB
|
||||
max-request-size: 12MB
|
||||
|
||||
#mongodb数据库配置
|
||||
data:
|
||||
mongodb:
|
||||
uri: mongodb://iotkit:123456@192.168.100.118:27017/?authSource=iotkit
|
||||
uri: mongodb://填写mongodb地址
|
||||
database: iotkit
|
||||
|
||||
elasticsearch:
|
||||
rest:
|
||||
uris: http://192.168.100.118:9200
|
||||
#使用内置es的配置
|
||||
uris: http://127.0.0.1:9200
|
||||
username:
|
||||
password:
|
||||
connection-timeout: 10s
|
||||
|
||||
redis:
|
||||
host: 192.168.100.50
|
||||
#使用内置redis的配置
|
||||
host: 127.0.0.1
|
||||
port: 6379
|
||||
database: 0
|
||||
password: 5tgbNHY^
|
||||
password:
|
||||
|
||||
cache:
|
||||
cache-names: foo,bar
|
||||
caffeine:
|
||||
spec: maximumSize=5000,expireAfterAccess=300s
|
||||
mvc:
|
||||
pathmatch:
|
||||
matching-strategy: ant_path_matcher
|
||||
|
||||
#图片存储用的是阿里云oss,如果需要上传产品图片才需要配置
|
||||
aliyun:
|
||||
bucketId: iotkit-images
|
||||
bucketId: 填写阿里云bucketId
|
||||
endpoint: oss-cn-shenzhen.aliyuncs.com
|
||||
accessKeyId: LTAI4FmGGouSnScYrGe7rQLA
|
||||
accessKeySecret: 9S0xjffwmGW2B3HsE4Efw1TqUy8YXC
|
||||
accessKeyId: 填写阿里云accessKeyId
|
||||
accessKeySecret: 填写阿里云accessKeySecret
|
||||
|
||||
sa-token:
|
||||
# token名称 (同时也是cookie名称)
|
||||
|
@ -54,23 +56,11 @@ sa-token:
|
|||
# 是否输出操作日志
|
||||
is-log: false
|
||||
|
||||
security:
|
||||
oauth2:
|
||||
resource:
|
||||
filter-order: 3
|
||||
|
||||
oauth2:
|
||||
auth-server-url: http://127.0.0.1:8086
|
||||
|
||||
#pulsar消息队列配置,需要进行配置
|
||||
pulsar:
|
||||
broker: pulsar://192.168.100.66:6650
|
||||
service: http://192.168.100.66:8080
|
||||
|
||||
app:
|
||||
systemRole: iot_system_user
|
||||
aligenie:
|
||||
push:
|
||||
device:
|
||||
mqtt:
|
||||
url: tcp:/192.168.100.118:1883
|
||||
broker: pulsar://pulsar broker地址:6650
|
||||
service: http://pulsar 服务地址:8080
|
||||
|
||||
#认证中心地址
|
||||
oauth2:
|
||||
auth-server-url: http://127.0.0.1:8086
|
Loading…
Reference in New Issue