mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-27 03:58:55 +08:00
fix: fix openim web port
Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
parent
aa729a24b6
commit
1ecfbb6563
@ -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"]
|
||||||
|
@ -166,7 +166,7 @@ services:
|
|||||||
|
|
||||||
# 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 +180,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
|
||||||
|
@ -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}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user