forked from data61/MP-SPDZ
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
49 lines (47 loc) · 1.66 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
version: '3.8'
services:
mp-spdz:
image: mp-spdz
cap_add:
- NET_ADMIN
build:
context: .
dockerfile: Dockerfile
args:
machine: malicious-shamir-party.x
prep_dir: /opt/preprocessing-data
ssl_dir: /opt/ssl
cryptoplayers: 3
gfp_mod_sz: 4
compile_options: "-v -C --field=256"
src: tutorial
platform: "linux/amd64"
environment:
PREP_DIR: ${PREP_DIR}
PRIME: ${PRIME}
working_dir: /usr/src/MP-SPDZ
volumes:
- ./Compiler:/usr/src/MP-SPDZ/Compiler
- ./CONFIG:/usr/src/MP-SPDZ/CONFIG
- ./Makefile:/usr/src/MP-SPDZ/Makefile
- ./Utils:/usr/src/MP-SPDZ/Utils
- ./Programs/Source:/usr/src/MP-SPDZ/Programs/Source
- ./Scripts:/usr/src/MP-SPDZ/Scripts
- ./Networking:/usr/src/MP-SPDZ/Networking
- ./Machines:/usr/src/MP-SPDZ/Machines
- ./Protocols:/usr/src/MP-SPDZ/Protocols
- ./Processor:/usr/src/MP-SPDZ/Processor
- ./Math:/usr/src/MP-SPDZ/Math
- ./Tools:/usr/src/MP-SPDZ/Tools
- ./log_0.txt:/usr/src/MP-SPDZ/log_0.txt
- ./log_1.txt:/usr/src/MP-SPDZ/log_1.txt
- ./log_2.txt:/usr/src/MP-SPDZ/log_2.txt
- ./log_3.txt:/usr/src/MP-SPDZ/log_3.txt
# - ./mal-shamir-offline.x:/usr/src/MP-SPDZ/mal-shamir-offline.x
# - ./malicious-shamir-party.x:/usr/src/MP-SPDZ/malicious-shamir-party.x
# - ./random-shamir.x:/usr/src/MP-SPDZ/random-shamir.x
# - ./random-bits.x:/usr/src/MP-SPDZ/random-bits.x
# - ./libSPDZ.so:/usr/src/MP-SPDZ/libSPDZ.so
- ./latency-control.sh:/usr/src/MP-SPDZ/latency-control.sh
- ./test/:/usr/src/MP-SPDZ/test/
command: tail -F anything