Skip to content

Commit

Permalink
fix: docker images
Browse files Browse the repository at this point in the history
Signed-off-by: Xinwei Xiong(cubxxw-openim) <[email protected]>
  • Loading branch information
cubxxw committed Jul 28, 2023
1 parent 8979b9d commit 9afc4c8
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
USER=root
PASSWORD=openIM123
MINIO_ENDPOINT=http://113.99.98.99:10005
API_URL=http://113.99.98.99:10002/object/
MINIO_ENDPOINT=http://127.0.0.1:10005
API_URL=http://127.0.0.1:10002/object/
DATA_DIR=./
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN /bin/sh -c "make build"
FROM alpine

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

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

WORKDIR /Open-IM-Server/scripts

CMD ["docker_start_all.sh"]
CMD ["./docker_start_all.sh"]
4 changes: 2 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ services:


openim_server:
image: ghcr.io/openimsdk/openim-server:v3.0
image: ghcr.io/openimsdk/openim-server:v3.1.0
container_name: openim-server
volumes:
- ./logs:/Open-IM-Server/logs
Expand All @@ -124,7 +124,7 @@ services:
max-file: "2"

openim_chat:
image: ghcr.io/openimsdk/openim-chat:v1.0.0
image: ghcr.io/openimsdk/openim-chat:v1.1.0
container_name: openim_chat
restart: always
depends_on:
Expand Down
10 changes: 5 additions & 5 deletions scripts/make-rules/golang.mk
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,11 @@ go.build.%:
$(BIN_DIR)/platforms/$(OS)/$(ARCH)/$(COMMAND)$(GO_OUT_EXT) $(ROOT_DIR)/cmd/$(COMMAND)/main.go; \
fi

## go.install: Install deployment openim
.PHONY: go.install
go.install:
@echo "===========> Installing deployment openim"
@$(ROOT_DIR)/scripts/install_im_server.sh
# ## go.install: Install deployment openim
# .PHONY: go.install
# go.install:
# @echo "===========> Installing deployment openim"
# @$(ROOT_DIR)/scripts/install_im_server.sh

## go.check: Check OpenIM deployment
.PHONY: go.check
Expand Down

0 comments on commit 9afc4c8

Please sign in to comment.