-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
80 lines (74 loc) · 1.61 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
73
74
75
76
77
78
79
80
version: '3.7'
services:
redpanda:
image: docker.vectorized.io/vectorized/redpanda:v21.9.5
container_name: redpanda
command:
- redpanda start
- --overprovisioned
- --smp 1
- --memory 1G
- --reserve-memory 0M
- --node-id 0
- --check=false
- --kafka-addr 0.0.0.0:9092
- --advertise-kafka-addr redpanda:9092
- --pandaproxy-addr 0.0.0.0:8082
- --advertise-pandaproxy-addr redpanda:8082
environment:
- AUTO_CREATE_TOPICS_ENABLED=true
ports:
- 9092:9092
- 8081:8081
- 8082:8082
materialize:
image: materialize/materialized:v0.12.0
container_name: materialize
command: -w1 --disable-telemetry
ports:
- 6875:6875
redis:
image: 'bitnami/redis:latest'
container_name: redis
environment:
- ALLOW_EMPTY_PASSWORD=yes
ports:
- 6379:6379
simulation:
build: ./simulation
image: simulation:latest
container_name: simulation
depends_on:
- redpanda
- redis
volumes:
- ./simulation:/app
inference:
build: ./inference
image: inference:latest
container_name: inference
depends_on:
- materialize
- simulation
volumes:
- ./inference:/app
learning:
build: ./learning
image: learning:latest
container_name: learning
depends_on:
- materialize
- inference
volumes:
- ./learning:/app
monitoring:
build: ./monitoring
image: monitoring:latest
container_name: monitoring
depends_on:
- materialize
- inference
volumes:
- ./monitoring:/app
ports:
- 8501:8501