Skip to content

Commit 9afc4c8

Browse files
committed
fix: docker images
Signed-off-by: Xinwei Xiong(cubxxw-openim) <[email protected]>
1 parent 8979b9d commit 9afc4c8

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.env

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
USER=root
22
PASSWORD=openIM123
3-
MINIO_ENDPOINT=http://113.99.98.99:10005
4-
API_URL=http://113.99.98.99:10002/object/
3+
MINIO_ENDPOINT=http://127.0.0.1:10005
4+
API_URL=http://127.0.0.1:10002/object/
55
DATA_DIR=./

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ RUN /bin/sh -c "make build"
2323
FROM alpine
2424

2525
RUN echo "https://mirrors.aliyun.com/alpine/v3.4/main" > /etc/apk/repositories && \
26-
apk --no-cache add tzdata ca-certificates
26+
apk --no-cache add tzdata ca-certificates bash
2727

2828
# Set directory to map logs, config files, scripts, and SDK
2929
VOLUME ["/Open-IM-Server/logs", "/Open-IM-Server/config", "/Open-IM-Server/scripts", "/Open-IM-Server/db/sdk"]
@@ -34,4 +34,4 @@ COPY --from=builder /Open-IM-Server/_output/bin/platforms/linux/amd64 /Open-IM-S
3434

3535
WORKDIR /Open-IM-Server/scripts
3636

37-
CMD ["docker_start_all.sh"]
37+
CMD ["./docker_start_all.sh"]

docker-compose.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ services:
100100

101101

102102
openim_server:
103-
image: ghcr.io/openimsdk/openim-server:v3.0
103+
image: ghcr.io/openimsdk/openim-server:v3.1.0
104104
container_name: openim-server
105105
volumes:
106106
- ./logs:/Open-IM-Server/logs
@@ -124,7 +124,7 @@ services:
124124
max-file: "2"
125125

126126
openim_chat:
127-
image: ghcr.io/openimsdk/openim-chat:v1.0.0
127+
image: ghcr.io/openimsdk/openim-chat:v1.1.0
128128
container_name: openim_chat
129129
restart: always
130130
depends_on:

scripts/make-rules/golang.mk

+5-5
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,11 @@ go.build.%:
131131
$(BIN_DIR)/platforms/$(OS)/$(ARCH)/$(COMMAND)$(GO_OUT_EXT) $(ROOT_DIR)/cmd/$(COMMAND)/main.go; \
132132
fi
133133

134-
## go.install: Install deployment openim
135-
.PHONY: go.install
136-
go.install:
137-
@echo "===========> Installing deployment openim"
138-
@$(ROOT_DIR)/scripts/install_im_server.sh
134+
# ## go.install: Install deployment openim
135+
# .PHONY: go.install
136+
# go.install:
137+
# @echo "===========> Installing deployment openim"
138+
# @$(ROOT_DIR)/scripts/install_im_server.sh
139139

140140
## go.check: Check OpenIM deployment
141141
.PHONY: go.check

0 commit comments

Comments
 (0)