-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
72 lines (66 loc) · 1.45 KB
/
docker-compose.yml
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
60
61
62
63
64
65
66
67
68
69
70
71
72
version: '2.1'
services:
rocketmq-base:
image: rocketmq-base-image:4.0.0-incubating
build: ./base
rocketmq-namesrv:
image: rocketmq-namesrv-image:4.0.0-incubating
build:
context: ./namesrv
ports:
- "9876:9876"
depends_on:
- rocketmq-base
rocketmq-broker-a-m:
image: rocketmq-broker-a-m-image:4.0.0-incubating
build:
context: ./broker
environment:
NAMESRV_ADDR: rocketmq-namesrv:9876
ports:
- "10911:10911"
- "10909:10909"
depends_on:
- rocketmq-base
- rocketmq-namesrv
links:
- rocketmq-namesrv
pub-service:
image: pub-service:latest
build:
context: ./pub-service
environment:
NAMESRV_ADDR: rocketmq-namesrv:9876
ports:
- "9909:9909"
depends_on:
- rocketmq-base
- rocketmq-namesrv
links:
- rocketmq-namesrv
- rocketmq-broker-a-m
rocketmq-console:
image: rocketmq-console:latest
build:
context: ./rocketmq-console
environment:
NAMESRV_ADDR: rocketmq-namesrv:9876
links:
- rocketmq-namesrv
- rocketmq-broker-a-m
ports:
- 8080:8080
batch-service:
image: batch-service:latest
build:
context: ./batch-service
environment:
NAMESRV_ADDR: rocketmq-namesrv:9876
depends_on:
- rocketmq-broker-a-m
- rocketmq-namesrv
links:
- rocketmq-namesrv
- rocketmq-broker-a-m
ports:
- 9709:9709