mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-05-18 01:59:17 +08:00
Merge branch 'main' into v2.3.0release
# Conflicts: # .env # install_im_server.sh
This commit is contained in:
commit
af46999a16
@ -33,8 +33,8 @@ mongo:
|
|||||||
dbTimeout: 60
|
dbTimeout: 60
|
||||||
dbDatabase: openIM #mongo db 默认即可
|
dbDatabase: openIM #mongo db 默认即可
|
||||||
dbSource: admin
|
dbSource: admin
|
||||||
dbUserName: #mongo用户名,建议先不设置
|
dbUserName: root #mongo用户名,建议先不设置
|
||||||
dbPassword: #mongo密码,建议先不设置
|
dbPassword: openIM #mongo密码,建议先不设置
|
||||||
dbMaxPoolSize: 100
|
dbMaxPoolSize: 100
|
||||||
dbRetainChatRecords: 3650 #mongo保存离线消息时间(天),根据需求修改
|
dbRetainChatRecords: 3650 #mongo保存离线消息时间(天),根据需求修改
|
||||||
chatRecordsClearTime: "* * * * *" # 每天凌晨3点清除消息,该配置和linux定时任务一样, 清理操作建议设置在用户活跃少的时候 # 0 3 * * *
|
chatRecordsClearTime: "* * * * *" # 每天凌晨3点清除消息,该配置和linux定时任务一样, 清理操作建议设置在用户活跃少的时候 # 0 3 * * *
|
||||||
|
@ -15,7 +15,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: admin-cms
|
- name: admin-cms
|
||||||
image: openim/admin_cms:v2.3.0release
|
image: openim/admin_cms:v2.3.3
|
||||||
# imagePullPolicy: Always #每次启动都重新拉取镜像
|
# imagePullPolicy: Always #每次启动都重新拉取镜像
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 10200
|
- containerPort: 10200
|
||||||
|
@ -15,7 +15,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: api
|
- name: api
|
||||||
image: openim/api:v2.3.0release
|
image: openim/api:v2.3.3
|
||||||
# imagePullPolicy: Always
|
# imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 10002
|
- containerPort: 10002
|
||||||
|
@ -15,7 +15,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: auth
|
- name: auth
|
||||||
image: openim/auth:v2.3.0release
|
image: openim/auth:v2.3.3
|
||||||
# imagePullPolicy: Always
|
# imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 10160
|
- containerPort: 10160
|
||||||
|
2
deploy_k8s/cache/deployment.yaml
vendored
2
deploy_k8s/cache/deployment.yaml
vendored
@ -15,7 +15,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: cache
|
- name: cache
|
||||||
image: openim/cache:v2.3.0release
|
image: openim/cache:v2.3.3
|
||||||
# imagePullPolicy: Always
|
# imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 10240
|
- containerPort: 10240
|
||||||
|
@ -15,7 +15,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: cms-api
|
- name: cms-api
|
||||||
image: openim/cms_api:v2.3.0release
|
image: openim/cms_api:v2.3.3
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 10006
|
- containerPort: 10006
|
||||||
|
@ -15,7 +15,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: conversation
|
- name: conversation
|
||||||
image: openim/conversation:v2.3.0release
|
image: openim/conversation:v2.3.3
|
||||||
# imagePullPolicy: Always
|
# imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 10230
|
- containerPort: 10230
|
||||||
|
@ -15,7 +15,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: demo
|
- name: demo
|
||||||
image: openim/demo:v2.3.0release
|
image: openim/demo:v2.3.3
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 10004
|
- containerPort: 10004
|
||||||
|
@ -15,7 +15,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: friend
|
- name: friend
|
||||||
image: openim/friend:v2.3.0release
|
image: openim/friend:v2.3.3
|
||||||
# imagePullPolicy: Always
|
# imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 10120
|
- containerPort: 10120
|
||||||
|
@ -15,7 +15,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: group
|
- name: group
|
||||||
image: openim/group:v2.3.0release
|
image: openim/group:v2.3.3
|
||||||
# imagePullPolicy: Always
|
# imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 10150
|
- containerPort: 10150
|
||||||
|
@ -15,7 +15,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: msg
|
- name: msg
|
||||||
image: openim/msg:v2.3.0release
|
image: openim/msg:v2.3.3
|
||||||
# imagePullPolicy: Always
|
# imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 10130
|
- containerPort: 10130
|
||||||
|
@ -15,7 +15,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: msg-gateway
|
- name: msg-gateway
|
||||||
image: openim/msg_gateway:v2.3.0release
|
image: openim/msg_gateway:v2.3.3
|
||||||
# imagePullPolicy: Always
|
# imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- name: rpc-port
|
- name: rpc-port
|
||||||
|
@ -15,7 +15,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: msg-transfer
|
- name: msg-transfer
|
||||||
image: openim/msg_transfer:v2.3.0release
|
image: openim/msg_transfer:v2.3.3
|
||||||
# imagePullPolicy: Always
|
# imagePullPolicy: Always
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
|
@ -15,7 +15,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: office
|
- name: office
|
||||||
image: openim/office:v2.3.0release
|
image: openim/office:v2.3.3
|
||||||
# imagePullPolicy: Always
|
# imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 10210
|
- containerPort: 10210
|
||||||
|
@ -15,7 +15,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: organization
|
- name: organization
|
||||||
image: openim/organization:v2.3.0release
|
image: openim/organization:v2.3.3
|
||||||
# imagePullPolicy: Always
|
# imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 10220
|
- containerPort: 10220
|
||||||
|
@ -15,7 +15,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: push
|
- name: push
|
||||||
image: openim/push:v2.3.0release
|
image: openim/push:v2.3.3
|
||||||
# imagePullPolicy: Always
|
# imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 10170
|
- containerPort: 10170
|
||||||
|
@ -15,7 +15,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: sdk-server
|
- name: sdk-server
|
||||||
image: openim/sdk_server:v2.3.0release
|
image: openim/sdk_server:v2.3.3
|
||||||
# imagePullPolicy: Always
|
# imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 10003
|
- containerPort: 10003
|
||||||
|
@ -15,7 +15,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: user
|
- name: user
|
||||||
image: openim/user:v2.3.0release
|
image: openim/user:v2.3.3
|
||||||
# imagePullPolicy: Always
|
# imagePullPolicy: Always
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
|
9
init_docker.sh
Normal file
9
init_docker.sh
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
cd script ;
|
||||||
|
chmod +x *.sh ;
|
||||||
|
./env_check.sh;
|
||||||
|
cd .. ;
|
||||||
|
docker-compose up -d;
|
||||||
|
cd script ;
|
||||||
|
./docker_check_service.sh
|
@ -5,6 +5,5 @@ chmod +x *.sh ;
|
|||||||
./env_check.sh;
|
./env_check.sh;
|
||||||
cd .. ;
|
cd .. ;
|
||||||
docker-compose up -d;
|
docker-compose up -d;
|
||||||
echo "upppp...."
|
|
||||||
cd script ;
|
cd script ;
|
||||||
./docker_check_service.sh
|
./docker_check_service.sh
|
||||||
|
3
script/.env
Normal file
3
script/.env
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
USER=root
|
||||||
|
PASSWORD=openIM
|
||||||
|
DATA_DIR=./
|
Loading…
x
Reference in New Issue
Block a user