mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-08 11:05:59 +08:00
Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7aad1eb8df | |||
| e334bfdf75 | |||
| 82f741c73b | |||
| 73733caf48 | |||
| ad8b5b484b | |||
| 56144ed76d | |||
| 4ecb2f81bc | |||
| 10a0bd09e3 | |||
| 2628874a26 | |||
| 72e5c4a0bf | |||
| f3939793ab |
@@ -120,8 +120,6 @@ $ make demo
|
|||||||
|
|
||||||
🤲 In order to facilitate the user experience, we have provided a variety of deployment solutions, you can choose your own deployment method according to the list below:
|
🤲 In order to facilitate the user experience, we have provided a variety of deployment solutions, you can choose your own deployment method according to the list below:
|
||||||
|
|
||||||
> [ !TIP ] Due to some issues with the release-v3.3 deployment, linux deployment requires the root user to deploy the entire deployment
|
|
||||||
|
|
||||||
<details> <summary>Deploying with Docker Compose</summary>
|
<details> <summary>Deploying with Docker Compose</summary>
|
||||||
|
|
||||||
It is recommended to use Docker Compose for deployment, which can easily and quickly deploy the entire OpenIM service on a single node
|
It is recommended to use Docker Compose for deployment, which can easily and quickly deploy the entire OpenIM service on a single node
|
||||||
|
|||||||
+4
-4
@@ -36,7 +36,7 @@ services:
|
|||||||
- "${DATA_DIR}/components/mongodb/data/db:/data/db"
|
- "${DATA_DIR}/components/mongodb/data/db:/data/db"
|
||||||
- "${DATA_DIR}/components/mongodb/data/logs:/data/logs"
|
- "${DATA_DIR}/components/mongodb/data/logs:/data/logs"
|
||||||
- "${DATA_DIR}/components/mongodb/data/conf:/etc/mongo"
|
- "${DATA_DIR}/components/mongodb/data/conf:/etc/mongo"
|
||||||
- ./scripts/mongo-init.sh:/docker-entrypoint-initdb.d/mongo-init.sh"
|
- ./scripts/mongo-init.sh:/docker-entrypoint-initdb.d/mongo-init.sh:ro"
|
||||||
environment:
|
environment:
|
||||||
- TZ=Asia/Shanghai
|
- TZ=Asia/Shanghai
|
||||||
- wiredTigerCacheSizeGB=1
|
- wiredTigerCacheSizeGB=1
|
||||||
@@ -127,9 +127,9 @@ services:
|
|||||||
ipv4_address: ${MINIO_NETWORK_ADDRESS}
|
ipv4_address: ${MINIO_NETWORK_ADDRESS}
|
||||||
|
|
||||||
openim-web:
|
openim-web:
|
||||||
image: ghcr.io/openimsdk/openim-web:v3.5.0-docker
|
# image: ghcr.io/openimsdk/openim-web:latest
|
||||||
# image: registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-web:v3.5.0-docker
|
image: registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-web:latest
|
||||||
# image: openim/openim-web:v3.5.0-docker
|
# image: openim/openim-web:latest
|
||||||
container_name: openim-web
|
container_name: openim-web
|
||||||
environment:
|
environment:
|
||||||
- OPENIM_WEB_DIST_PATH=${OPENIM_WEB_DIST_PATH}
|
- OPENIM_WEB_DIST_PATH=${OPENIM_WEB_DIST_PATH}
|
||||||
|
|||||||
+1
-1
@@ -58,7 +58,7 @@ func (m MessageApi) newUserSendMsgReq(c *gin.Context, params *apistruct.SendMsg)
|
|||||||
options := make(map[string]bool, 5)
|
options := make(map[string]bool, 5)
|
||||||
switch params.ContentType {
|
switch params.ContentType {
|
||||||
case constant.Text:
|
case constant.Text:
|
||||||
fallthrough
|
newContent = params.Content["text"].(string)
|
||||||
case constant.Picture:
|
case constant.Picture:
|
||||||
fallthrough
|
fallthrough
|
||||||
case constant.Custom:
|
case constant.Custom:
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
GO := go
|
GO := go
|
||||||
GO_SUPPORTED_VERSIONS ?= 1.18|1.19|1.20|1.21|1.22
|
GO_SUPPORTED_VERSIONS ?= 1.18|1.19|1.20|1.21
|
||||||
|
|
||||||
GO_LDFLAGS += -X $(VERSION_PACKAGE).gitVersion=$(GIT_TAG) \
|
GO_LDFLAGS += -X $(VERSION_PACKAGE).gitVersion=$(GIT_TAG) \
|
||||||
-X $(VERSION_PACKAGE).gitCommit=$(GIT_COMMIT) \
|
-X $(VERSION_PACKAGE).gitCommit=$(GIT_COMMIT) \
|
||||||
|
|||||||
Reference in New Issue
Block a user