Commit c6f8b11f by Future

生产环境配置

parent b8ac41e9
spring-boot-plus:
# 是否启用ansi控制台输出有颜色的字体,local环境建议开启,服务器环境设置为false
enable-ansi: false
# 是否启用ansi控制台输出有颜色的字体,dev环境建议开启,服务器环境设置为false
enable-ansi: true
# 当前环境服务IP地址
server-ip:
# 生产环境禁用Swagger
swagger:
enable: true
# AOP配置
server-ip: 127.0.0.1
# 文件上传下载配置
upload-path: /opt/upload/
aop:
log:
enable: true
log-print-type: NONE
log-print-type: LINE
request-log-format: false
response-log-format: false
spring:
# upay
datasource:
url: jdbc:mysql://172.31.38.183:3306/wecloud_im?serverTimezone=UTC&useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true
username: web
password: 74DXJwJE7wYehHr5VFJbc2w8
url: jdbc:mysql://116.205.173.171:3306/wecloud_im_paas?serverTimezone=UTC&useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true
username: root
password: temple123456
#//测试外网
# url: jdbc:mysql://18.136.207.16:3306/wecloud_im?serverTimezone=UTC&useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true
# username: web
# password: axT8knPN5hAP
# Redis配置
redis:
database: 0
host: 172.31.38.183
password: qZ8yzTz8chSZE1ZbbRbK
host: 116.205.173.171
password:
port: 6379
# 飞蛙
# datasource:
# url: jdbc:mysql://127.0.0.1:3306/wecloud_im?serverTimezone=UTC&useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true
# username: web
# password: axT8knPN5hAP
# redis:
# database: 0
# host: 127.0.0.1
# password: JH86uc53r8Ca
# port: 6379
cloud:
nacos:
discovery:
server-addr: 116.205.173.171:8848
# 国内IM集成版
# datasource:
# url: jdbc:mysql://127.0.0.1:3306/wecloud_im?serverTimezone=UTC&useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true
# username: root
# password: axT8knPN5hAP
# redis:
# database: 0
# host: 127.0.0.1
# password: JH86uc53r8Ca
# port: 6379
#
# cloud:
# nacos:
# discovery:
# server-addr: localhost:8848
# knife4j配置
knife4j:
enable: ${spring-boot-plus.swagger.enable}
basic:
enable: true
username: 321wecloudAdmin123
password: hj12ad2f123H22skd3123sk2h
dubbo:
protocol:
port: 20881
name: dubbo
registry:
address: nacos://116.205.173.171:8848?username=nacos&password=nacos
provider:
cluster: channelRouterCluster
consumer:
check: false
# 打印SQL语句和结果集,本地开发环境可开启,线上注释掉
mybatis-plus:
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
# 服务器负载均衡配置
load-blance:
# 服务器运营商local,aws,huawei
server-type: aws
server-type: local
# NameServer地址 用;作为地址的分隔符
rocketmq:
namesrvAddr: 116.205.173.171:9876
# 生产者的组名
producerId: im-server
\ No newline at end of file
......@@ -22,7 +22,7 @@ public enum MultiRtcRoomStateEnum implements BaseEnum {
/**
* 3 - 会议结束
*/
VOICE(3, "会议结束");
END(3, "会议结束");
MultiRtcRoomStateEnum(int code, String desc) {
this.code = code;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment