修改配置

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
max-file-count: 6
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:
url: 192.168.0.155
port: 1991
context: websocket
is-encrypt: false
aes-key: SocKEtsEcReT_KeY
# 短信服务
sms:

View File

@ -54,10 +54,10 @@ spring:
use-global-data-source-stat: true
data:
mongodb:
uri: mongodb://smartcity:smartcity@192.168.0.156:27017/smartcity
uri: mongodb://smartcity:smartcity@127.0.0.1:27017/smartcity
redis:
database: 6
host: 192.168.0.156
host: 127.0.0.1
port: 6379
password: 666
timeout: 3000ms
@ -86,12 +86,21 @@ file:
file-types: doc,docx,xls,xlsx,ppt,pptx,txt,zip,rar,apk,pdf
max-file-count: 6
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:
url: 127.0.0.1
port: 8081
context: websocket
is-encrypt: false
aes-key: SocKEtsEcReT_KeY
# 短信服务
sms: