-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
59 lines (56 loc) · 1.25 KB
/
docker-compose.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
version: "3.8"
services:
redpanda:
command:
- redpanda
- start
- --smp
- '1'
- --reserve-memory
- '0M'
- --overprovisioned
- --node-id
- '0'
- --kafka-addr
- redpanda:9092
- --advertise-kafka-addr
- redpanda:9092
image: docker.vectorized.io/vectorized/redpanda:v21.9.5
healthcheck:
test: ["CMD", "curl", "http://localhost:9644/v1/status/ready"]
start_period: 0s
interval: 1s
retries: 30
topic-creator:
image: docker.vectorized.io/vectorized/redpanda:v21.9.5
command:
- topic
- --brokers
- redpanda:9092
- create
- tremor
depends_on:
redpanda:
condition: service_healthy
tremor_in:
image: tremorproject/tremor:edge
depends_on:
redpanda:
condition: service_healthy
environment:
- RUST_BACKTRACE=1
- RUST_LOG=debug
volumes:
- ./etc/tremor_in:/etc/tremor:ro
- ./var/log/in:/var/log/:rw
tremor_out:
image: tremorproject/tremor:edge
depends_on:
redpanda:
condition: service_healthy
environment:
- RUST_BACKTRACE=1
- RUST_LOG=debug
volumes:
- ./etc/tremor_out:/etc/tremor:ro
- ./var/log/out:/var/log:rw