Docker Apache RocketMQ -- make convenient to use RocketMQ
435
docker-rocketmq is basic apache rockermq docker container which base on rocketmq-externals-docker and make some changes make it more convenient.
JVM_MEMORY convenient to set runtime JVM memoryPull the image from the Docker repository
docker pull zhongjiajie/docker-rocketmq
Build by yourself(it is helpful if you want to make some change base on this repo)
git clone https://github.com/zhongjiajie/docker-rocketmq
cd docker-rocketmq
docker build --rm -t zhongjiajie/rocketmq .
By default, you can run rocketmq with simple command
docker-compose up -d
This command will run exactly one rocketmq-namesrv and one rocketmq-broker with given JVM_MEMORY environment define in docker-compose.yml. if you want to run in custom JVM_MEMORY environment you can change the variable in docker-compose.yml and start by the same command docker-compose up -d
To stop the runing container
docker-compose down
Scale the number of broker, if you want to start rocketmq with numbers of broker, you could run docker-compose with --scale flag
# eg if you want to scale 3 mqbrokers
docker-compose up --scale mqbroker=3 --no-recreate
Fork, improve and PR. ;-)
Content type
Image
Digest
Size
240.5 MB
Last updated
over 8 years ago
docker pull zhongjiajie/docker-rocketmq