修改配置

This commit is contained in:
wanggeng 2021-12-08 20:50:38 +08:00
parent 69d38c2a1b
commit ef764a9379
2 changed files with 20 additions and 2 deletions

View File

@ -85,12 +85,21 @@ file:
file-types: doc,docx,xls,xlsx,ppt,pptx,txt,zip,rar,apk,pdf file-types: doc,docx,xls,xlsx,ppt,pptx,txt,zip,rar,apk,pdf
max-file-count: 6 max-file-count: 6
image-output-quality: 0.4 image-output-quality: 0.4
# 启用minIo
use-min-io: true
# 与use-min-io配套使用
min-io:
endpoint: http://192.168.0.156:9900
access-key: usercenter
secret-key: aaa111!!!
# 即时通讯 # 即时通讯
websocket: websocket:
url: 192.168.0.155 url: 192.168.0.155
port: 1991 port: 1991
context: websocket context: websocket
is-encrypt: false
aes-key: SocKEtsEcReT_KeY
# 短信服务 # 短信服务
sms: sms:

View File

@ -54,10 +54,10 @@ spring:
use-global-data-source-stat: true use-global-data-source-stat: true
data: data:
mongodb: mongodb:
uri: mongodb://smartcity:smartcity@192.168.0.156:27017/smartcity uri: mongodb://smartcity:smartcity@127.0.0.1:27017/smartcity
redis: redis:
database: 6 database: 6
host: 192.168.0.156 host: 127.0.0.1
port: 6379 port: 6379
password: 666 password: 666
timeout: 3000ms timeout: 3000ms
@ -86,12 +86,21 @@ file:
file-types: doc,docx,xls,xlsx,ppt,pptx,txt,zip,rar,apk,pdf file-types: doc,docx,xls,xlsx,ppt,pptx,txt,zip,rar,apk,pdf
max-file-count: 6 max-file-count: 6
image-output-quality: 0.4 image-output-quality: 0.4
# 启用minIo
use-min-io: true
# 与use-min-io配套使用
min-io:
endpoint: http://127.0.0.1:9900
access-key: usercenter
secret-key: aaa111!!!
# 即时通讯 # 即时通讯
websocket: websocket:
url: 127.0.0.1 url: 127.0.0.1
port: 8081 port: 8081
context: websocket context: websocket
is-encrypt: false
aes-key: SocKEtsEcReT_KeY
# 短信服务 # 短信服务
sms: sms: