mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-04-28 22:39:18 +08:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 734f2a5116 | |||
| 1ecfbb6563 |
@@ -84,7 +84,7 @@ jobs:
|
|||||||
id: meta2
|
id: meta2
|
||||||
uses: docker/metadata-action@v4.6.0
|
uses: docker/metadata-action@v4.6.0
|
||||||
with:
|
with:
|
||||||
images: registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-server
|
images: registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-web
|
||||||
|
|
||||||
- name: Log in to AliYun Docker Hub
|
- name: Log in to AliYun Docker Hub
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
@@ -117,7 +117,7 @@ jobs:
|
|||||||
id: meta3
|
id: meta3
|
||||||
uses: docker/metadata-action@v4.6.0
|
uses: docker/metadata-action@v4.6.0
|
||||||
with:
|
with:
|
||||||
images: ghcr.io/openimsdk/openim-server
|
images: ghcr.io/openimsdk/openim-web
|
||||||
|
|
||||||
- name: Log in to GitHub Container Registry
|
- name: Log in to GitHub Container Registry
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
|
|||||||
@@ -89,9 +89,9 @@ $ git-chglog --config custom/dir/config.yml
|
|||||||
## create next tag
|
## create next tag
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git-chglog --next-tag 2.0.0 -o CHANGELOG.md
|
$ git-chglog --next-tag 2.0.0 -o CHANGELOG.md
|
||||||
git commit -am "release 2.0.0"
|
$ git commit -am "release 2.0.0"
|
||||||
git tag 2.0.0
|
$ git tag 2.0.0
|
||||||
```
|
```
|
||||||
|
|
||||||
| Query | Description | Example |
|
| Query | Description | Example |
|
||||||
@@ -112,6 +112,9 @@ git tag 2.0.0
|
|||||||
+ [OpenIM CHANGELOG-V2.9](CHANGELOG-2.9.md)
|
+ [OpenIM CHANGELOG-V2.9](CHANGELOG-2.9.md)
|
||||||
+ [OpenIM CHANGELOG-V3.0](CHANGELOG-3.0.md)
|
+ [OpenIM CHANGELOG-V3.0](CHANGELOG-3.0.md)
|
||||||
+ [OpenIM CHANGELOG-V3.1](CHANGELOG-3.1.md)
|
+ [OpenIM CHANGELOG-V3.1](CHANGELOG-3.1.md)
|
||||||
|
+ [OpenIM CHANGELOG-V3.2](CHANGELOG-3.2.md)
|
||||||
|
+ [OpenIM CHANGELOG-V3.3](CHANGELOG-3.3.md)
|
||||||
|
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
|
|
||||||
@@ -121,7 +124,7 @@ In both the open-source and closed-source software development communities, it i
|
|||||||
|
|
||||||
The most common format for version numbers is as follows:
|
The most common format for version numbers is as follows:
|
||||||
|
|
||||||
```
|
```bash
|
||||||
major.minor[.patch[.build]]
|
major.minor[.patch[.build]]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -25,7 +25,7 @@ WORKDIR ${SERVER_WORKDIR}
|
|||||||
|
|
||||||
# Copy scripts and binary files to the production image
|
# Copy scripts and binary files to the production image
|
||||||
COPY --from=builder ${OPENIM_SERVER_BINDIR} /openim/openim-server/_output/bin
|
COPY --from=builder ${OPENIM_SERVER_BINDIR} /openim/openim-server/_output/bin
|
||||||
COPY --from=builder ${OPENIM_SERVER_CMDDIR} /openim/openim-server/scripts
|
# COPY --from=builder ${OPENIM_SERVER_CMDDIR} /openim/openim-server/scripts
|
||||||
COPY --from=builder ${SERVER_WORKDIR}/config /openim/openim-server/config
|
# COPY --from=builder ${SERVER_WORKDIR}/config /openim/openim-server/config
|
||||||
|
|
||||||
CMD ["/openim/openim-server/scripts/docker-start-all.sh"]
|
CMD ["/openim/openim-server/scripts/docker-start-all.sh"]
|
||||||
|
|||||||
+7
-5
@@ -153,6 +153,8 @@ services:
|
|||||||
|
|
||||||
openim-web:
|
openim-web:
|
||||||
image: ghcr.io/openimsdk/openim-web:latest
|
image: ghcr.io/openimsdk/openim-web:latest
|
||||||
|
# image: registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-web:latest
|
||||||
|
# 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}
|
||||||
@@ -165,8 +167,8 @@ services:
|
|||||||
ipv4_address: ${OPENIM_WEB_NETWORK_ADDRESS}
|
ipv4_address: ${OPENIM_WEB_NETWORK_ADDRESS}
|
||||||
|
|
||||||
# openim-server:
|
# openim-server:
|
||||||
# # image: ghcr.io/openimsdk/openim-server:main
|
# image: ghcr.io/openimsdk/openim-server:main
|
||||||
# image: registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-server:main
|
# # image: registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-server:release-v3.3
|
||||||
# # image: openim/openim-server:main
|
# # image: openim/openim-server:main
|
||||||
# # build: .
|
# # build: .
|
||||||
# container_name: openim-server
|
# container_name: openim-server
|
||||||
@@ -180,7 +182,7 @@ services:
|
|||||||
# retries: 5
|
# retries: 5
|
||||||
# volumes:
|
# volumes:
|
||||||
# - ./logs:/openim/openim-server/logs
|
# - ./logs:/openim/openim-server/logs
|
||||||
# - ./_output:/openim/openim-server/_output
|
# - ./_output/logs:/openim/openim-server/_output/logs
|
||||||
# - ./config:/openim/openim-server/config
|
# - ./config:/openim/openim-server/config
|
||||||
# - ./scripts:/openim/openim-server/scripts
|
# - ./scripts:/openim/openim-server/scripts
|
||||||
# restart: always
|
# restart: always
|
||||||
@@ -200,8 +202,8 @@ services:
|
|||||||
# ipv4_address: ${OPENIM_SERVER_NETWORK_ADDRESS}
|
# ipv4_address: ${OPENIM_SERVER_NETWORK_ADDRESS}
|
||||||
|
|
||||||
# openim-chat:
|
# openim-chat:
|
||||||
# # image: ghcr.io/openimsdk/openim-chat:main
|
# image: ghcr.io/openimsdk/openim-chat:main
|
||||||
# image: registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-chat:main
|
# # image: registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-chat:main
|
||||||
# # image: ghcr.io/openimsdk/openim-chat:main
|
# # image: ghcr.io/openimsdk/openim-chat:main
|
||||||
# container_name: openim-chat
|
# container_name: openim-chat
|
||||||
# healthcheck:
|
# healthcheck:
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ function openim::push::start()
|
|||||||
|
|
||||||
for (( i=0; i<${#OPENIM_PUSH_PORTS_ARRAY[@]}; i++ )); do
|
for (( i=0; i<${#OPENIM_PUSH_PORTS_ARRAY[@]}; i++ )); do
|
||||||
openim::log::info "start push process, port: ${OPENIM_PUSH_PORTS_ARRAY[$i]}, prometheus port: ${PUSH_PROM_PORTS_ARRAY[$i]}"
|
openim::log::info "start push process, port: ${OPENIM_PUSH_PORTS_ARRAY[$i]}, prometheus port: ${PUSH_PROM_PORTS_ARRAY[$i]}"
|
||||||
nohup ${OPENIM_PUSH_BINARY} --port ${OPENIM_PUSH_PORTS_ARRAY[$i]} --prometheus_port ${PUSH_PROM_PORTS_ARRAY[$i]} >> ${LOG_FILE} 2>&1 &
|
nohup ${OPENIM_PUSH_BINARY} --port ${OPENIM_PUSH_PORTS_ARRAY[$i]} -c ${OPENIM_PUSH_CONFIG} --prometheus_port ${PUSH_PROM_PORTS_ARRAY[$i]} >> ${LOG_FILE} 2>&1 &
|
||||||
done
|
done
|
||||||
|
|
||||||
openim::util::check_process_names ${SERVER_NAME}
|
openim::util::check_process_names ${SERVER_NAME}
|
||||||
|
|||||||
Reference in New Issue
Block a user