-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (37 loc) · 812 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
39 lines (37 loc) · 812 Bytes
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
services:
demo:
build:
context: .
command:
- --config
- config/rules.json
- --events
- "100"
- --seed
- "42"
- --output-dir
- /tmp/artifacts
# Illustrative broker only. The dependency-free local demo does not require it.
# Start with: docker compose --profile broker up redpanda
redpanda:
image: docker.redpanda.com/redpandadata/redpanda:v24.3.18
profiles: ["broker"]
command:
- redpanda
- start
- --overprovisioned
- --smp
- "1"
- --memory
- 512M
- --reserve-memory
- 0M
- --node-id
- "0"
- --check=false
- --kafka-addr
- PLAINTEXT://0.0.0.0:9092
- --advertise-kafka-addr
- PLAINTEXT://redpanda:9092
ports:
- "9092:9092"