修改网络类型,修改的原因是mq topic没有自动创建
parent
f32b46d983
commit
25236c738a
|
@ -90,6 +90,7 @@ services:
|
||||||
rmqnamesrv:
|
rmqnamesrv:
|
||||||
image: foxiswho/rocketmq:server
|
image: foxiswho/rocketmq:server
|
||||||
container_name: rocket-server
|
container_name: rocket-server
|
||||||
|
network_mode: host
|
||||||
environment:
|
environment:
|
||||||
JAVA_OPT_EXT: "-server -Xms64m -Xmx64m -Xmn64m"
|
JAVA_OPT_EXT: "-server -Xms64m -Xmx64m -Xmn64m"
|
||||||
ports:
|
ports:
|
||||||
|
@ -102,6 +103,7 @@ services:
|
||||||
rmqbroker:
|
rmqbroker:
|
||||||
image: foxiswho/rocketmq:broker
|
image: foxiswho/rocketmq:broker
|
||||||
container_name: rocket-broker
|
container_name: rocket-broker
|
||||||
|
network_mode: host
|
||||||
ports:
|
ports:
|
||||||
- 10909:10909
|
- 10909:10909
|
||||||
- 10911:10911
|
- 10911:10911
|
||||||
|
@ -120,6 +122,7 @@ services:
|
||||||
rmqconsole:
|
rmqconsole:
|
||||||
image: styletang/rocketmq-console-ng
|
image: styletang/rocketmq-console-ng
|
||||||
container_name: rocket-console
|
container_name: rocket-console
|
||||||
|
network_mode: host
|
||||||
ports:
|
ports:
|
||||||
- 8180:8180
|
- 8180:8180
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Reference in New Issue