- get docker image
mvn clean package -Dmaven.test.skip=true docker:build
or
docker pull apacherocketmq/rocketmq-console
currently the newest available docker image is apacherocketmq/rocketmq-console:2.0.0
- run it (change namesvrAddr and port yourself)
docker run -e "JAVA_OPTS=-Drocketmq.namesrv.addr=127.0.0.1:9876 -Dcom.rocketmq.sendMessageWithVIPChannel=false" -p 8080:8080 -t apacherocketmq/rocketmq-console-ng
or
docker run -e "JAVA_OPTS=-Drocketmq.namesrv.addr=127.0.0.1:9876 -Dcom.rocketmq.sendMessageWithVIPChannel=false" -p 8080:8080 -t apacherocketmq/rocketmq-console-ng:2.0.0
require java 1.8+
mvn spring-boot:run
or
mvn clean package -Dmaven.test.skip=true
java -jar target/rocketmq-dashboard-2.0.0.jar
-
if you download package slow,you can change maven's mirror(maven's settings.xml)
<mirrors> <mirror> <id>alimaven</id> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/groups/public/</url> <mirrorOf>central</mirrorOf> </mirror> </mirrors>
-
if you use the rocketmq < 3.5.8,please add -Dcom.rocketmq.sendMessageWithVIPChannel=false when you start rocketmq-dashboard(or you can change it in ops page)
-
change the rocketmq.config.namesrvAddr in resource/application.properties.(or you can change it in ops page)
We are always very happy to have contributions, whether for trivial cleanups or big new features. Please see the RocketMQ main website to read details.
Apache License, Version 2.0 Copyright (C) Apache Software Foundation