forked from influxdata/rskafka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-redpanda.yml
70 lines (70 loc) · 1.94 KB
/
docker-compose-redpanda.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-0:
image: vectorized/redpanda:v22.2.1
container_name: redpanda-0
ports:
- '9010:9010'
command:
- redpanda
- start
- --smp 1
- --memory 1G
- --reserve-memory 0M
- --overprovisioned
- --node-id 0
- --check=false
- --kafka-addr EXTERNAL://0.0.0.0:9010,FOR_PROXY://0.0.0.0:9020
- --advertise-kafka-addr EXTERNAL://127.0.0.1:9010,FOR_PROXY://redpanda-0:9020
- --rpc-addr 0.0.0.0:33145
- --advertise-rpc-addr redpanda-0:33145
- --set redpanda.auto_create_topics_enabled=false
redpanda-1:
image: vectorized/redpanda:v22.2.1
container_name: redpanda-1
ports:
- '9011:9011'
command:
- redpanda
- start
- --smp 1
- --memory 1G
- --reserve-memory 0M
- --overprovisioned
- --node-id 1
- --seeds "redpanda-0:33145"
- --check=false
- --kafka-addr EXTERNAL://0.0.0.0:9011,FOR_PROXY://0.0.0.0:9021
- --advertise-kafka-addr EXTERNAL://127.0.0.1:9011,FOR_PROXY://redpanda-1:9021
- --rpc-addr 0.0.0.0:33146
- --advertise-rpc-addr redpanda-1:33146
- --set redpanda.auto_create_topics_enabled=false
redpanda-2:
image: vectorized/redpanda:v22.2.1
container_name: redpanda-2
ports:
- '9012:9012'
command:
- redpanda
- start
- --smp 1
- --memory 1G
- --reserve-memory 0M
- --overprovisioned
- --node-id 2
- --seeds "redpanda-0:33145"
- --check=false
- --kafka-addr EXTERNAL://0.0.0.0:9012,FOR_PROXY://0.0.0.0:9022
- --advertise-kafka-addr EXTERNAL://127.0.0.1:9012,FOR_PROXY://redpanda-2:9022
- --rpc-addr 0.0.0.0:33147
- --advertise-rpc-addr redpanda-2:33147
- --set redpanda.auto_create_topics_enabled=false
proxy:
image: serjs/go-socks5-proxy
ports:
- "1080:1080"
depends_on:
- redpanda-0
- redpanda-1
- redpanda-2