-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-rocketmq.yaml
59 lines (55 loc) · 1.62 KB
/
docker-compose-rocketmq.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# http://127.0.0.1:19876/#/
version: "3"
services:
lark-mqnamesrv:
image: apache/rocketmq:4.9.4
container_name: lark-mqnamesrv
ports:
- "9876:9876"
networks:
lark-mq-network:
ipv4_address: "192.168.8.10"
environment:
JAVA_OPT: -server -Xms512m -Xmx512m
command: sh mqnamesrv
volumes:
- /Volumes/data/lark/rocketmq/namesrv/logs:/home/rocketmq/logs/rocketmqlogs
lark-mqbroker:
image: apache/rocketmq:4.9.4
container_name: lark-mqbroker
ports:
- "10911:10911"
- "10909:10909"
- "10912:10912"
networks:
lark-mq-network:
ipv4_address: "192.168.8.20"
environment:
JAVA_OPT_EXT: -server -Xms512M -Xmx512M -Xmn256m
command: sh mqbroker -c /home/rocketmq/rocketmq-4.9.4/conf/broker.conf
depends_on:
- lark-mqnamesrv
volumes:
- ./configs/docker/rocketmq/broker/broker.conf:/home/rocketmq/rocketmq-4.9.4/conf/broker.conf
- /Volumes/data/lark/rocketmq/broker/logs:/home/rocketmq/logs/rocketmqlogs
- /Volumes/data/lark/rocketmq/broker/store:/home/rocketmq/store
lark-mqconsole:
image: styletang/rocketmq-console-ng:1.0.0
container_name: lark-mqconsole
ports:
- "19876:19876"
networks:
lark-mq-network:
ipv4_address: "192.168.8.30"
environment:
JAVA_OPTS: -Dserver.port=19876 -Drocketmq.namesrv.addr=lark-mqnamesrv:9876 -Dcom.rocketmq.sendMessageWithVIPChannel=false
depends_on:
- lark-mqnamesrv
networks:
lark-mq-network:
driver: bridge
ipam:
driver: default
config:
- subnet: 192.168.8.0/24
ip_range: 192.168.8.0/24