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.

54 lines
1.2 KiB

3 years ago
server:
port: 8888
spring:
application:
name: im-platform
mvc:
pathmatch:
matching-strategy: ant_path_matcher
3 years ago
datasource:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://localhost:3306/box-im?useSSL=false&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true
3 years ago
username: root
2 years ago
password: root
3 years ago
redis:
host: 127.0.0.1
port: 6379
3 years ago
servlet:
multipart:
max-file-size: 50MB
max-request-size: 50MB
3 years ago
mybatis-plus:
configuration:
# 是否开启自动驼峰命名规则
3 years ago
map-underscore-to-camel-case: false
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
3 years ago
mapper-locations:
- classpath*:mapper/*.xml
minio:
endpoint: http://127.0.0.1:9001 #内网地址
public: http://127.0.0.1:9001 #外网访问地址
accessKey: admin
secretKey: 12345678
bucketName: box-im
imagePath: image
filePath: file
videoPath: video
webrtc:
max-channel: 9 # 多人通话最大通道数量,最大不能超过16,建议值:4,9,16
iceServers:
- urls: stun:stun.l.google.com:19302
jwt:
accessToken:
expireIn: 1800 #半个小时
secret: MIIBIjANBgkq
refreshToken:
expireIn: 604800 #7天
secret: IKDiqVmn0VFU