-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose-basic.yml
70 lines (66 loc) · 1.36 KB
/
docker-compose-basic.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
version: '3.7'
services:
redpanda-1:
command:
- redpanda
- start
- --smp
- '1'
- --reserve-memory
- 0M
- --check=false
- --config
- "/etc/kpow-rp/redpanda-1.yaml"
image: docker.vectorized.io/vectorized/redpanda:v21.7.4
container_name: redpanda-1
volumes:
- ${HOME}/config/basic:/etc/kpow-rp
ports:
- 8082:8082
- 9092:9092
- 29092:29092
- 33145:33145
redpanda-2:
command:
- redpanda
- start
- --smp
- '1'
- --reserve-memory
- 0M
- --check=false
- --config
- "/etc/kpow-rp/redpanda-2.yaml"
image: docker.vectorized.io/vectorized/redpanda:v21.7.4
container_name: redpanda-2
volumes:
- ${HOME}/config/basic:/etc/kpow-rp
depends_on:
- redpanda-1
ports:
- 8083:8083
- 9093:9093
- 29093:29093
- 33146:33146
redpanda-3:
command:
- redpanda
- start
- --smp
- '1'
- --reserve-memory
- 0M
- --check=false
- --config
- "/etc/kpow-rp/redpanda-3.yaml"
image: docker.vectorized.io/vectorized/redpanda:v21.7.4
container_name: redpanda-3
volumes:
- ${HOME}/config/basic:/etc/kpow-rp
depends_on:
- redpanda-1
ports:
- 8084:8084
- 9094:9094
- 29094:29094
- 33147:33147