Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wecloud_im_server
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hewei
wecloud_im_server
Commits
4baa917f
Commit
4baa917f
authored
Apr 24, 2022
by
罗长华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加xhdtest配置
parent
129d6577
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
90 additions
and
2 deletions
+90
-2
config/src/main/resources/config/application-xhdtest.yml
+65
-0
config/src/main/resources/config/bootstrap.yml
+16
-2
pom.xml
+9
-0
No files found.
config/src/main/resources/config/application-xhdtest.yml
0 → 100755
View file @
4baa917f
spring-boot-plus
:
# 是否启用ansi控制台输出有颜色的字体,dev环境建议开启,服务器环境设置为false
enable-ansi
:
true
# 当前环境服务IP地址
server-ip
:
139.159.136.86
# 文件上传下载配置
upload-path
:
/opt/upload/
aop
:
log
:
enable
:
true
log-print-type
:
LINE
request-log-format
:
false
response-log-format
:
false
spring
:
datasource
:
url
:
jdbc:mysql://mysql:3306/wecloud_im?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
:
redis
password
:
temple123456
port
:
6379
cloud
:
nacos
:
discovery
:
server-addr
:
nacos:8848
dubbo
:
protocol
:
port
:
20881
name
:
dubbo
registry
:
address
:
nacos://nacos: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
:
local
# NameServer地址 用;作为地址的分隔符
rocketmq
:
namesrvAddr
:
rmqnamesrv:9876
# 生产者的组名
producerId
:
im-server
config/src/main/resources/config/bootstrap.yml
View file @
4baa917f
...
...
@@ -42,4 +42,19 @@ spring:
server-addr
:
localhost:8848
userName
:
"
nacos"
password
:
"
nacos"
file-extension
:
yaml
\ No newline at end of file
file-extension
:
yaml
---
spring
:
profiles
:
xhdtest
cloud
:
nacos
:
discovery
:
server-addr
:
nacos:8848
userName
:
"
nacos"
password
:
"
nacos"
config
:
server-addr
:
nacos:8848
userName
:
"
nacos"
password
:
"
nacos"
file-extension
:
yaml
pom.xml
View file @
4baa917f
...
...
@@ -617,6 +617,15 @@
<activeByDefault>
false
</activeByDefault>
</activation>
</profile>
<profile>
<id>
xhdtest
</id>
<properties>
<profileActive>
xhdtest
</profileActive>
</properties>
<activation>
<activeByDefault>
false
</activeByDefault>
</activation>
</profile>
</profiles>
</project>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment