@@ -99,15 +99,15 @@ services:
9999 command : minio server /data --console-address ':9090'
100100
101101 openim-server :
102- # build: .
103- image : ghcr.io /openimsdk/openim-server:release-v3.2
104- # image: registry.cn-hangzhou.aliyuncs.com/openimsdk/ openim-server:release-v3.2
105- # image: openim/openim-server:release-v3.2
102+ # image: ghcr.io/openimsdk/openim-server:${SERVER_BRANCH}
103+ # image: registry.cn-hangzhou.aliyuncs.com /openimsdk/openim-server:${SERVER_BRANCH}
104+ image : openim/ openim-server:${SERVER_BRANCH}
105+ # build: .
106106 container_name : openim-server
107107 volumes :
108- - ./openim-server/logs:/openim/openim-server/logs
109- - ./openim-server/config:/openim/openim-server/config
110- - ./openim-server/scripts:/openim/openim-server/scripts
108+ - ./openim-server/${SERVER_BRANCH}/ logs:/openim/openim-server/logs
109+ - ./openim-server/${SERVER_BRANCH}/ config:/openim/openim-server/config
110+ - ./openim-server/${SERVER_BRANCH}/ scripts:/openim/openim-server/scripts
111111 restart : always
112112 depends_on :
113113 - zookeeper
@@ -124,19 +124,19 @@ services:
124124 max-file : " 2"
125125
126126 openim-chat :
127- image : ghcr.io/openimsdk/openim-chat:release-v1.2
128- # image: registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-chat:release-v1.2
129- # image: openim/ openim-chat:release-v1.2
127+ # image: ghcr.io/openimsdk/openim-chat:${CHAT_BRANCH}
128+ # image: registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-chat:${CHAT_BRANCH}
129+ image : ghcr.io/openimsdk/ openim-chat:${CHAT_BRANCH}
130130 container_name : openim-chat
131131 healthcheck :
132132 test : ["CMD-SHELL", "./scripts/check-all.sh"]
133133 interval : 30s
134134 timeout : 10s
135135 retries : 5
136136 volumes :
137- - ./openim-chat/logs:/openim/openim-chat/logs
138- - ./openim-chat/config:/openim/openim-chat/config
139- - ./openim-chat/scripts:/openim/openim-chat/scripts
137+ - ./openim-chat/${CHAT_BRANCH}/ logs:/openim/openim-chat/logs
138+ - ./openim-chat/${CHAT_BRANCH}/ config:/openim/openim-chat/config
139+ - ./openim-chat/${CHAT_BRANCH}/ scripts:/openim/openim-chat/scripts
140140 restart : always
141141 user : root:root
142142 depends_on :
0 commit comments