feat: add chmod

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
Xinwei Xiong(cubxxw-openim)
2023-07-07 21:27:07 +08:00
parent 905c55caad
commit 049ae6eb80
34 changed files with 156 additions and 144 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
.PHONY: all build run gotool install clean help
NAME=openim_cron_task
NAME=openim-crontask
BIN_DIR=../../bin/
OS:= $(or $(os),linux)
+2 -2
View File
@@ -25,8 +25,8 @@ RUN apt-get install -y vim curl tzdata gawk
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
RUN apt-get -qq update \
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
COPY ./openim_cron_task ./
COPY ./openim-crontask ./
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
CMD ["./openim_cron_task"]
CMD ["./openim-crontask"]
+1 -1
View File
@@ -1,6 +1,6 @@
.PHONY: all build run gotool install clean help
NAME=openim_msg_gateway
NAME=openim-rpc-msg_gateway
BIN_DIR=../../bin/
OS:= $(or $(os),linux)
+2 -2
View File
@@ -25,8 +25,8 @@ RUN apt-get install -y vim curl tzdata gawk
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
RUN apt-get -qq update \
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
COPY ./openim_msg_gateway ./
COPY ./openim-rpc-msg_gateway ./
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
CMD ["./openim_msg_gateway","--port", "10140" "--ws_port", "10001", "--prometheus_port", "20240"]
CMD ["./openim-rpc-msg_gateway","--port", "10140" "--ws_port", "10001", "--prometheus_port", "20240"]
+1 -1
View File
@@ -1,6 +1,6 @@
.PHONY: all build run gotool install clean help
NAME=openim_msg_transfer
NAME=openim-rpc-msg_transfer
BIN_DIR=../../bin/
OS:= $(or $(os),linux)
+2 -2
View File
@@ -25,8 +25,8 @@ RUN apt-get install -y vim curl tzdata gawk
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
RUN apt-get -qq update \
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
COPY ./openim_msg_transfer ./
COPY ./openim-rpc-msg_transfer ./
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
CMD ["./openim_msg_transfer","--prometheus_port", "21400"]
CMD ["./openim-rpc-msg_transfer","--prometheus_port", "21400"]
+1 -1
View File
@@ -1,6 +1,6 @@
.PHONY: all build run gotool install clean help
NAME=openim_auth
NAME=openim-rpc-auth
BIN_DIR=../../../bin/
OS:= $(or $(os),linux)
@@ -25,8 +25,8 @@ RUN apt-get install -y vim curl tzdata gawk
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
RUN apt-get -qq update \
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
COPY ./openim_auth ./
COPY ./openim-rpc-auth ./
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
CMD ["./openim_auth", "--port", "10160"]
CMD ["./openim-rpc-auth", "--port", "10160"]
@@ -1,6 +1,6 @@
.PHONY: all build run gotool install clean help
NAME=openim_conversation
NAME=openim-rpc-conversation
BIN_DIR=../../../bin/
OS:= $(or $(os),linux)
@@ -25,8 +25,8 @@ RUN apt-get install -y vim curl tzdata gawk
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
RUN apt-get -qq update \
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
COPY ./openim_conversation ./
COPY ./openim-rpc-conversation ./
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
CMD ["./openim_conversation", "--port", "10230", "--prometheus_port","20230"]
CMD ["./openim-rpc-conversation", "--port", "10230", "--prometheus_port","20230"]
+1 -1
View File
@@ -1,6 +1,6 @@
.PHONY: all build run gotool install clean help
NAME=openim_friend
NAME=openim-rpc-friend
BIN_DIR=../../../bin/
OS:= $(or $(os),linux)
@@ -25,8 +25,8 @@ RUN apt-get install -y vim curl tzdata gawk
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
RUN apt-get -qq update \
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
COPY ./openim_friend ./
COPY ./openim-rpc-friend ./
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
CMD ["./openim_friend", "--port", "10120", "--prometheus_port","20120"]
CMD ["./openim-rpc-friend", "--port", "10120", "--prometheus_port","20120"]
+1 -1
View File
@@ -1,6 +1,6 @@
.PHONY: all build run gotool install clean help
NAME=openim_group
NAME=openim-rpc-group
BIN_DIR=../../../bin/
OS:= $(or $(os),linux)
@@ -25,8 +25,8 @@ RUN apt-get install -y vim curl tzdata gawk
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
RUN apt-get -qq update \
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
COPY ./openim_group ./
COPY ./openim-rpc-group ./
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
CMD ["./openim_group", "--port", "10150", "--prometheus_port","20150"]
CMD ["./openim-rpc-group", "--port", "10150", "--prometheus_port","20150"]
+1 -1
View File
@@ -1,6 +1,6 @@
.PHONY: all build run gotool install clean help
NAME=openim_msg
NAME=openim-rpc-msg
BIN_DIR=../../../bin/
OS:= $(or $(os),linux)
@@ -25,8 +25,8 @@ RUN apt-get install -y vim curl tzdata gawk
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
RUN apt-get -qq update \
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
COPY ./openim_msg ./
COPY ./openim-rpc-msg ./
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
CMD ["./openim_msg", "--port", "10130", "--prometheus_port","20130"]
CMD ["./openim-rpc-msg", "--port", "10130", "--prometheus_port","20130"]
+1 -1
View File
@@ -1,6 +1,6 @@
.PHONY: all build run gotool install clean help
NAME=openim_third
NAME=openim-rpc-third
BIN_DIR=../../../bin/
OS:= $(or $(os),linux)
@@ -25,8 +25,8 @@ RUN apt-get install -y vim curl tzdata gawk
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
RUN apt-get -qq update \
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
COPY ./openim_third ./
COPY ./openim-rpc-third ./
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
CMD ["./openim_third", "--port", "10200"]
CMD ["./openim-rpc-third", "--port", "10200"]
+1 -1
View File
@@ -1,6 +1,6 @@
.PHONY: all build run gotool install clean help
NAME=openim_user
NAME=openim-rpc-user
BIN_DIR=../../../bin/
OS:= $(or $(os),linux)
@@ -25,8 +25,8 @@ RUN apt-get install -y vim curl tzdata gawk
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
RUN apt-get -qq update \
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
COPY ./openim_user ./
COPY ./openim-rpc-user ./
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
CMD ["./openim_user", "--port", "10110"]
CMD ["./openim-rpc-user", "--port", "10110"]