-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (39 loc) · 969 Bytes
/
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
version: "3"
services:
coordinator:
build:
context: .
dockerfile: coordinator/coordinator.dockerfile
image: dev/universalis-coordinator:latest
ports:
- "8886:8888"
environment:
- KAFKA_URL=kafka1:9092
worker:
build:
context: .
dockerfile: worker/worker.dockerfile
image: dev/universalis:latest
environment:
- INGRESS_TYPE=KAFKA
- KAFKA_URL=kafka1:9092
- DISCOVERY_HOST=coordinator
- DISCOVERY_PORT=8888
frontend:
build:
context: .
dockerfile: stateflow-client/frontend.dockerfile
image: kpsarakis/universalis-demo-frontend:latest
environment:
- UNIVERSALIS_HOST=coordinator
- UNIVERSALIS_PORT=8888
- PYTHONUNBUFFERED=TRUE
- KAFKA_URL=kafka1:9092
- N_PARTITIONS=6
- N_ENTITIES=5000
- STARTING_AMOUNT=100
- SANIC_RESPONSE_TIMEOUT=6000
depends_on:
- coordinator
ports:
- "5000:5000"