You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by mi...@apache.org on 2023/02/02 08:23:40 UTC

[incubator-eventmesh-site] branch master updated: update Guidelines of eventmesh-store with Docker RocketMQ pull docker image from apache rocketmq official

This is an automated email from the ASF dual-hosted git repository.

mikexue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-eventmesh-site.git


The following commit(s) were added to refs/heads/master by this push:
     new a609a7df update Guidelines of eventmesh-store with Docker RocketMQ pull docker image from apache rocketmq official
     new bb462f06 Merge pull request #55 from mxsm/eventmesh-site-storewithdocker
a609a7df is described below

commit a609a7df0ced9dc6b3afc16718f39ad87093c9ab
Author: mxsm <lj...@gmail.com>
AuthorDate: Wed Feb 1 22:47:14 2023 +0800

    update Guidelines of eventmesh-store with Docker RocketMQ pull docker image from apache rocketmq official
---
 docs/instruction/01-store-with-docker.md               | 18 ++++++++----------
 .../current/instruction/01-store-with-docker.md        | 10 ++++------
 2 files changed, 12 insertions(+), 16 deletions(-)

diff --git a/docs/instruction/01-store-with-docker.md b/docs/instruction/01-store-with-docker.md
index 8c102b24..b7bb71d0 100644
--- a/docs/instruction/01-store-with-docker.md
+++ b/docs/instruction/01-store-with-docker.md
@@ -13,10 +13,10 @@ If you choose standalone mode, you could skip this file and go to the next step:
 
 ## Download
 
-Download the Binary code (recommended: 4.9.*) from [RocketMQ Official](https://rocketmq.apache.org/dowloading/releases/). Here we take 4.9.2 as an example.
+Download the Binary code (recommended: 4.9.*) from [RocketMQ Official](https://rocketmq.apache.org/dowloading/releases/). Here we take 4.9.4 as an example.
 
 ```
-unzip rocketmq-all-4.9.2-bin-release.zip
+unzip rocketmq-all-4.9.4-bin-release.zip
 cd rocketmq-4.9.2/
 ```
 
@@ -45,20 +45,18 @@ The deployment of eventmesh-store has finished, please go to the next step: [Sta
 Pull RocketMQ image from Docker Hub:
 
 ```shell
-#获取namesrv镜像
-sudo docker pull rocketmqinc/rocketmq-namesrv:4.5.0-alpine
-#获取broker镜像
-sudo docker pull rocketmqinc/rocketmq-broker:4.5.0-alpine
+#Get RocketMQ image
+sudo docker pull apache/rocketmq:4.9.4
 ```
 
 Start namesrv  and broker
 
 ```shell
-#运行namerv容器
-sudo docker run -d -p 9876:9876 -v `pwd`/data/namesrv/logs:/root/logs -v `pwd`/data/namesrv/store:/root/store --name rmqnamesrv  rocketmqinc/rocketmq-namesrv:4.5.0-alpine sh mqnamesrv
+#Run namerv container
+sudo docker run -d -p 9876:9876 -v `pwd`/data/namesrv/logs:/root/logs -v `pwd`/data/namesrv/store:/root/store --name rmqnamesrv  apache/rocketmq:4.9.4 sh mqnamesrv
 
-#运行broker容器
-sudo docker run -d -p 10911:10911 -p 10909:10909 -v `pwd`/data/broker/logs:/root/logs -v `pwd`/data/broker/store:/root/store --name rmqbroker --link rmqnamesrv:namesrv -e "NAMESRV_ADDR=namesrv:9876" rocketmqinc/rocketmq-broker:4.5.0-alpine sh mqbroker -c ../conf/broker.conf
+#Run broker container
+sudo docker run -d -p 10911:10911 -p 10909:10909 -v `pwd`/data/broker/logs:/root/logs -v `pwd`/data/broker/store:/root/store --name rmqbroker --link rmqnamesrv:namesrv -e "NAMESRV_ADDR=namesrv:9876" apache/rocketmq:4.9.4 sh mqbroker -c ../conf/broker.conf
 ```
 
 Please note that the **rocketmq-broker ip** is **pod ip**. If you want to modify this ip, you can set it your custom value in **broker.conf**。
diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/instruction/01-store-with-docker.md b/i18n/zh/docusaurus-plugin-content-docs/current/instruction/01-store-with-docker.md
index 539c81cd..22633da8 100644
--- a/i18n/zh/docusaurus-plugin-content-docs/current/instruction/01-store-with-docker.md
+++ b/i18n/zh/docusaurus-plugin-content-docs/current/instruction/01-store-with-docker.md
@@ -14,20 +14,18 @@ eventmesh在非standalone模式下,依赖RocketMQ作为存储层;若采用st
 在命令行输入如下命令直接从 docker hub 上获取 RocketMQ 镜像:
 
 ```shell
-#获取 namesrv 镜像
-sudo docker pull rocketmqinc/rocketmq-namesrv:4.5.0-alpine
-#获取 broker 镜像
-sudo docker pull rocketmqinc/rocketmq-broker:4.5.0-alpine
+#获取 RocketMQ 镜像
+sudo docker pull apache/rocketmq:4.9.4
 ```
 
 在命令行输入以下命令运行namerv容器和broker容器
 
 ```shell
 #运行 namerv 容器
-sudo docker run -d -p 9876:9876 -v `pwd`/data/namesrv/logs:/root/logs -v `pwd`/data/namesrv/store:/root/store --name rmqnamesrv  rocketmqinc/rocketmq-namesrv:4.5.0-alpine sh mqnamesrv
+sudo docker run -d -p 9876:9876 -v `pwd`/data/namesrv/logs:/root/logs -v `pwd`/data/namesrv/store:/root/store --name rmqnamesrv  apache/rocketmq:4.9.4 sh mqnamesrv
 
 #运行 broker 容器
-sudo docker run -d -p 10911:10911 -p 10909:10909 -v `pwd`/data/broker/logs:/root/logs -v `pwd`/data/broker/store:/root/store --name rmqbroker --link rmqnamesrv:namesrv -e "NAMESRV_ADDR=namesrv:9876" rocketmqinc/rocketmq-broker:4.5.0-alpine sh mqbroker -c ../conf/broker.conf
+sudo docker run -d -p 10911:10911 -p 10909:10909 -v `pwd`/data/broker/logs:/root/logs -v `pwd`/data/broker/store:/root/store --name rmqbroker --link rmqnamesrv:namesrv -e "NAMESRV_ADDR=namesrv:9876" apache/rocketmq:4.9.4 sh mqbroker -c ../conf/broker.conf
 ```
 
 请注意 **rocketmq-broker ip** 是 **pod ip**, 如果你想修改这个ip, 可以通过挂载容器中 **broker.conf** 文件的方式并修改文件中的 **brokerIP1** 配置项为自定义值


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org