forked from 7574-sistemas-distribuidos/tp0-base
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-dev.yaml
87 lines (81 loc) · 1.63 KB
/
docker-compose-dev.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
name: tp0
services:
server:
container_name: server
image: server:latest
entrypoint: /server
volumes:
- ./server/config.ini:/config.ini
networks:
- testing_net
client1:
container_name: client1
image: client:latest
entrypoint: /client
environment:
- CLI_ID=1
volumes:
- ./client/config.yaml:/config.yaml
- ./client/.data:/.data
networks:
- testing_net
depends_on:
- server
client2:
container_name: client2
image: client:latest
entrypoint: /client
environment:
- CLI_ID=2
volumes:
- ./client/config.yaml:/config.yaml
- ./client/.data:/.data
networks:
- testing_net
depends_on:
- server
client3:
container_name: client3
image: client:latest
entrypoint: /client
environment:
- CLI_ID=3
volumes:
- ./client/config.yaml:/config.yaml
- ./client/.data:/.data
networks:
- testing_net
depends_on:
- server
client4:
container_name: client4
image: client:latest
entrypoint: /client
environment:
- CLI_ID=4
volumes:
- ./client/config.yaml:/config.yaml
- ./client/.data:/.data
networks:
- testing_net
depends_on:
- server
client5:
container_name: client5
image: client:latest
entrypoint: /client
environment:
- CLI_ID=5
volumes:
- ./client/config.yaml:/config.yaml
- ./client/.data:/.data
networks:
- testing_net
depends_on:
- server
networks:
testing_net:
ipam:
driver: default
config:
- subnet: 172.25.125.0/24