mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-09 11:35:59 +08:00
feat: set more help and port set
Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
@@ -42,14 +42,9 @@ WORKDIR /openim/openim-server
|
||||
COPY --from=builder /openim/openim-server/_output/bin/platforms /openim/openim-server/_output/bin/platforms
|
||||
COPY --from=builder /openim/openim-server/config /openim/openim-server/config
|
||||
|
||||
EXPOSE 10170
|
||||
ENV PROMETHEUS_PORT 20170
|
||||
|
||||
CMD ${OPENIM_SERVER_BINDIR}/platforms/$(get_os)/$(get_arch)/openim-push --port 10170
|
||||
|
||||
ENV PORT 10170
|
||||
|
||||
ENV CONFIG=/openim/openim-server/config
|
||||
ENV PORT 10170 \
|
||||
PROMETHEUS_PORT 20170 \
|
||||
CONFIG=/openim/openim-server/config
|
||||
|
||||
EXPOSE $PORT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user