mirror of
				https://github.com/openimsdk/open-im-server.git
				synced 2025-10-31 08:29:33 +08:00 
			
		
		
		
	fix: fix openim web port
Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
		
							parent
							
								
									aa729a24b6
								
							
						
					
					
						commit
						1ecfbb6563
					
				| @ -25,7 +25,7 @@ WORKDIR ${SERVER_WORKDIR} | ||||
| 
 | ||||
| # Copy scripts and binary files to the production image | ||||
| COPY --from=builder ${OPENIM_SERVER_BINDIR} /openim/openim-server/_output/bin | ||||
| COPY --from=builder ${OPENIM_SERVER_CMDDIR} /openim/openim-server/scripts | ||||
| COPY --from=builder ${SERVER_WORKDIR}/config /openim/openim-server/config | ||||
| # COPY --from=builder ${OPENIM_SERVER_CMDDIR} /openim/openim-server/scripts | ||||
| # COPY --from=builder ${SERVER_WORKDIR}/config /openim/openim-server/config | ||||
| 
 | ||||
| CMD ["/openim/openim-server/scripts/docker-start-all.sh"] | ||||
|  | ||||
| @ -166,7 +166,7 @@ services: | ||||
| 
 | ||||
| #   openim-server: | ||||
| #     # image: ghcr.io/openimsdk/openim-server:main | ||||
| #     image: registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-server:main | ||||
| #     image: registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-server:release-v3.3 | ||||
| #     # image: openim/openim-server:main | ||||
| # #    build: . | ||||
| #     container_name: openim-server | ||||
| @ -180,7 +180,7 @@ services: | ||||
| #       retries: 5 | ||||
| #     volumes: | ||||
| #       - ./logs:/openim/openim-server/logs | ||||
| #       - ./_output:/openim/openim-server/_output | ||||
| #       - ./_output/logs:/openim/openim-server/_output/logs | ||||
| #       - ./config:/openim/openim-server/config | ||||
| #       - ./scripts:/openim/openim-server/scripts | ||||
| #     restart: always | ||||
|  | ||||
| @ -71,7 +71,7 @@ function openim::push::start() | ||||
| 
 | ||||
|     for (( i=0; i<${#OPENIM_PUSH_PORTS_ARRAY[@]}; i++ )); do | ||||
|         openim::log::info "start push process, port: ${OPENIM_PUSH_PORTS_ARRAY[$i]}, prometheus port: ${PUSH_PROM_PORTS_ARRAY[$i]}" | ||||
|         nohup ${OPENIM_PUSH_BINARY} --port ${OPENIM_PUSH_PORTS_ARRAY[$i]} --prometheus_port ${PUSH_PROM_PORTS_ARRAY[$i]} >> ${LOG_FILE} 2>&1 & | ||||
|         nohup ${OPENIM_PUSH_BINARY} --port ${OPENIM_PUSH_PORTS_ARRAY[$i]} -c ${OPENIM_PUSH_CONFIG} --prometheus_port ${PUSH_PROM_PORTS_ARRAY[$i]} >> ${LOG_FILE} 2>&1 & | ||||
|     done | ||||
| 
 | ||||
|     openim::util::check_process_names ${SERVER_NAME} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user