upgrade rocektmq version to 4.9.6

master
Admin 2023-06-07 06:19:26 +00:00
parent d439365073
commit 6b35f56e11
1 changed files with 4 additions and 4 deletions

View File

@ -81,7 +81,7 @@ services:
# rocket mq name server # rocket mq name server
rmqnamesrv: rmqnamesrv:
image: apache/rocketmq:4.9.4 image: apache/rocketmq:4.9.6
restart: always restart: always
container_name: rocket-server container_name: rocket-server
# environment: # environment:
@ -96,14 +96,14 @@ services:
command: sh mqnamesrv command: sh mqnamesrv
# rocket mq broker # rocket mq broker
rmqbroker: rmqbroker:
image: apache/rocketmq:4.9.4 image: apache/rocketmq:4.9.6
restart: always restart: always
container_name: rocket-broker container_name: rocket-broker
volumes: volumes:
# 映射本地目录权限一定要设置为 777 权限,否则启动不成功 # 映射本地目录权限一定要设置为 777 权限,否则启动不成功
# - ../volumes/data/rocket/broker/logs:/home/rocketmq/logs # - ../volumes/data/rocket/broker/logs:/home/rocketmq/logs
# - ../volumes/data/rocket/broker/store:/home/rocketmq/store # - ../volumes/data/rocket/broker/store:/home/rocketmq/store
- ./config/broker.conf:/opt/rocketmq-4.9.4/conf/broker.conf - ./config/broker.conf:/opt/rocketmq-4.9.6/conf/broker.conf
environment: environment:
- NAMESRV_ADDR=rmqnamesrv:9876 - NAMESRV_ADDR=rmqnamesrv:9876
# - JAVA_OPTS:=-Duser.home=/opt # - JAVA_OPTS:=-Duser.home=/opt
@ -115,7 +115,7 @@ services:
ports: ports:
- 10909:10909 - 10909:10909
- 10911:10911 - 10911:10911
command: sh mqbroker -c /opt/rocketmq-4.9.4/conf/broker.conf command: sh mqbroker -c /opt/rocketmq-4.9.6/conf/broker.conf
# rocket console 这个可以不需要 # rocket console 这个可以不需要
rmqdashboard: rmqdashboard:
image: apacherocketmq/rocketmq-dashboard:1.0.0 image: apacherocketmq/rocketmq-dashboard:1.0.0