docs/contrib/offline-deployment.md
Below are the base images and their versions you'll need:
[!IMPORTANT] It is important to note that OpenIM removed mysql components from versions v3.5.0 (release-v3.5) and above, so mysql can be deployed without this requirement or above
If you need to install more IM components or monitoring products:
OpenIM:
[!TIP] If you need to install more IM components or monitoring products images.md
Monitoring:
Use the following commands to pull these base images:
docker pull bitnami/kafka:3.5.1
docker pull redis:7.0.0
docker pull mongo:6.0.2
docker pull mariadb:10.6
docker pull bitnami/zookeeper:3.8
docker pull minio/minio:2024-01-11T07-46-16Z
If you need to install more IM components or monitoring products:
docker pull prom/prometheus:v2.48.1
docker pull prom/alertmanager:v0.23.0
docker pull grafana/grafana:10.2.2
docker pull bitnami/node-exporter:1.7.0
For detailed understanding of version management and storage of OpenIM and Chat: version.md
docker pull ghcr.io/openimsdk/openim-server:<version-name>
docker pull ghcr.io/openimsdk/openim-chat:<version-name>
docker pull ghcr.io/openimsdk/openim-web:<version-name>
docker pull ghcr.io/openimsdk/openim-admin:<version-name>
Repositories:
registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-serveropenim/openim-serverVersion Selection:
You can select from the following versions:
docker pull commands to pull all required images locally.docker save -o <tar-file-name>.tar <image-name>
If you want to save all the images, use the following command:
docker save -o <tar-file-name>.tar $(docker images -q)
git clone https://github.com/openimsdk/openim-docker.git
Or download the code from Releases.
Because of the difference between win and linux newlines, please do not clone the repository with win and then synchronize scp to linux.
scp to transfer all images and code to the intranet server.scp <tar-file-name>.tar user@remote-ip:/path/on/remote/server
Or choose other transfer methods such as a hard drive.
docker load -i <tar-file-name>.tar
Import directly with shortcut commands:
for i in `ls ./`;do docker load -i $i;done
Deploy: Navigate to the openim-docker repository directory and follow the README guide for deployment.
Deploy using docker compose:
export OPENIM_IP="your ip" # Set Ip
make init # Init config
docker compose up -d # Deployment
docker compose ps # Verify
Note: If you're using a version of Docker prior to 20, make sure you've installed
docker-compose.