Merge pull request #2179 from openimsdk/cubxxw-patch-2

fix: fix release-v3.3 start bug
release-v3.3
Xinwei Xiong 7 months ago committed by GitHub
commit d3cc8bf2b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -120,6 +120,8 @@ $ 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

@ -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:ro" - ./scripts/mongo-init.sh:/docker-entrypoint-initdb.d/mongo-init.sh"
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:latest image: ghcr.io/openimsdk/openim-web:v3.5.0-docker
# image: registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-web:latest # image: registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-web:v3.5.0-docker
# image: openim/openim-web:latest # image: openim/openim-web:v3.5.0-docker
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}

@ -17,7 +17,7 @@
# #
GO := go GO := go
GO_SUPPORTED_VERSIONS ?= 1.18|1.19|1.20|1.21 GO_SUPPORTED_VERSIONS ?= 1.18|1.19|1.20|1.21|1.22
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) \

Loading…
Cancel
Save