-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
108 lines (99 loc) · 3.24 KB
/
docker-compose.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
version: "3.8"
services:
dfanalyzer:
image: nymeria0042/dfanalyzer
container_name: dfanalyzer
restart: "no"
network_mode: "host"
environment:
- DFA_URL=http://0.0.0.0
volumes:
- ./dataset-splitter/dataset_partitions:/dataset_partitions
working_dir: "/DfAnalyzer"
entrypoint: [ "sh", "start-dfanalyzer.sh" ]
prospective-provenance:
image: nymeria0042/dfanalyzer
container_name: provenance
restart: "no"
network_mode: "host"
environment:
- DFA_URL=http://localhost:22000
volumes:
- ./flower-prov:/applications/flowering
working_dir: "/applications/flowering/"
command: bash -c " python3 prospective_provenance.py"
server:
image: nymeria0042/dfanalyzer
container_name: server
restart: "no"
network_mode: "host"
environment:
- DFA_URL=http://localhost:22000
volumes:
- ./flower-prov:/applications/flowering
working_dir: "/applications/flowering/"
command: bash -c " bash script/start_flower_server.sh config/flower_server.cfg"
mongodb:
image: mongo
container_name: mongodb
restart: "no"
environment:
- MONGO_INITDB_USERNAME=camila.lopes
- MONGO_INITDB_PASSWORD=teste123
ports:
- 27017:27017
client1:
image: nymeria0042/dfanalyzer
restart: "no"
network_mode: "host"
environment:
- DFA_URL=http://localhost:22000
volumes:
- ./flower-prov:/applications/flowering
- ./dataset-splitter/dataset_partitions/partition_0:/dataset
working_dir: "/applications/flowering/"
entrypoint: [ "bash", "script/start_flower_clients.sh", "0", "config/flower_clients.cfg" ]
client2:
image: nymeria0042/dfanalyzer
restart: "no"
network_mode: "host"
environment:
- DFA_URL=http://localhost:22000
volumes:
- ./flower-prov:/applications/flowering
- ./dataset-splitter/dataset_partitions/partition_1:/dataset
working_dir: "/applications/flowering/"
entrypoint: [ "bash", "script/start_flower_clients.sh", "1", "config/flower_clients.cfg" ]
client3:
image: nymeria0042/dfanalyzer
restart: "no"
network_mode: "host"
environment:
- DFA_URL=http://localhost:22000
volumes:
- ./flower-prov:/applications/flowering
- ./dataset-splitter/dataset_partitions/partition_2:/dataset
working_dir: "/applications/flowering/"
entrypoint: [ "bash", "script/start_flower_clients.sh", "2", "config/flower_clients.cfg" ]
client4:
image: nymeria0042/dfanalyzer
restart: "no"
network_mode: "host"
environment:
- DFA_URL=http://localhost:22000
volumes:
- ./flower-prov:/applications/flowering
- ./dataset-splitter/dataset_partitions/partition_3:/dataset
working_dir: "/applications/flowering/"
entrypoint: [ "bash", "script/start_flower_clients.sh", "3", "config/flower_clients.cfg" ]
client5:
image: nymeria0042/dfanalyzer
restart: "no"
network_mode: "host"
environment:
- DFA_URL=http://localhost:22000
volumes:
- ./flower-prov:/applications/flowering
- ./dataset-splitter/dataset_partitions/partition_4:/dataset
working_dir: "/applications/flowering/"
entrypoint: [ "bash", "script/start_flower_clients.sh", "4", "config/flower_clients.cfg" ]