-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
57 lines (54 loc) · 1.07 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
services:
kaladin:
image: kaladin:latest
ports:
- "6550:6550"
volumes:
- "/tmp/in:/tmp/in"
- "/tmp/out:/tmp/out"
environment:
BRIDGEFOUR_HOST: 0.0.0.0
BRIDGEFOUR_PORT: 6550
WORKER1_HOST: spren-01
WORKER1_PORT: 6551
WORKER2_HOST: spren-02
WORKER2_PORT: 6552
networks:
- bridgefour
spren-01:
image: spren:latest
ports:
- "6551:6551"
volumes:
- "/tmp/in:/tmp/in"
- "/tmp/out:/tmp/out"
environment:
WORKER_ID: 0
BRIDGEFOUR_HOST: 0.0.0.0
BRIDGEFOUR_PORT: 6551
LEADER_HOST: kaladin
LEADER_PORT: 6550
networks:
- bridgefour
depends_on:
- kaladin
spren-02:
image: spren:latest
ports:
- "6552:6552"
volumes:
- "/tmp/in:/tmp/in"
- "/tmp/out:/tmp/out"
environment:
WORKER_ID: 1
BRIDGEFOUR_HOST: 0.0.0.0
BRIDGEFOUR_PORT: 6552
LEADER_HOST: kaladin
LEADER_PORT: 6550
networks:
- bridgefour
depends_on:
- kaladin
networks:
bridgefour:
driver: bridge