-
Notifications
You must be signed in to change notification settings - Fork 928
/
docker-compose.yml
65 lines (60 loc) · 1.15 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
version: '3'
services:
sacerdote:
image: alfrederson/marduk:latest
command: ./sacerdote
ports:
- "50051:50051"
volumes:
- tabuas_volume:/tabuas
deploy:
resources:
limits:
cpus: "0.75"
memory: "128mb"
viga:
image: alfrederson/marduk:latest
command: ./viga pilar1:8081 pilar2:8082
ports:
- "9999:9999"
depends_on:
- pilar1
- pilar2
deploy:
resources:
limits:
cpus: "0.25"
memory: "128mb"
pilar1:
image: alfrederson/marduk:latest
command: ./pilar sacerdote:50051 8081
ports:
- "8081:8081"
depends_on:
- sacerdote
volumes:
- tabuas_volume:/tabuas
deploy:
resources:
limits:
cpus: "0.25"
memory: "32mb"
pilar2:
image: alfrederson/marduk:latest
command: ./pilar sacerdote:50051 8082
ports:
- "8082:8082"
depends_on:
- sacerdote
volumes:
- tabuas_volume:/tabuas
deploy:
resources:
limits:
cpus: "0.25"
memory: "32mb"
volumes:
tabuas_volume:
networks:
default:
driver: bridge