forked from PROGNOSISTool/main
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
52 lines (52 loc) · 1.23 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
version: '3.8'
services:
implementation:
image: ghcr.io/ucl-pplv/prognosis/implementation:tcp
platform: linux/amd64
init: true
tty: true
privileged: true
ports:
- "4433:4433/udp"
- "44344:44344/tcp"
sysctls:
net.ipv4.tcp_syncookies: 0
volumes:
- ./output/implementation:/output/
adapter:
build:
#context: ./adapters/quic
context: ./adapters/tcp
privileged: true
platform: linux/amd64
depends_on:
- "implementation"
ports:
- "3333:3333"
volumes:
- ./config.yaml:/root/config.yaml
- ./output/adapter/:/root
- /lib/modules:/lib/modules
cap_add:
- NET_ADMIN
- SYS_MODULE
#sysctls:
#net.ipv4.tcp_syncookies: 0
learner:
build: ./learner
platform: linux/amd64
depends_on:
- "adapter"
volumes:
- ./config.yaml:/usr/src/learner/config.yaml
- ./output/learner/:/usr/src/learner/output/
- ./output/cache/:/usr/src/learner/cache/
synthesizer:
build: ./Synthesis
depends_on:
- "adapter"
volumes:
- ./config.yaml:/code/config.yaml
- ./output/learner/final/:/data/learner/
- ./output/adapter/:/data/adapter/
- ./output/synth/:/data/synth/