-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
40 lines (39 loc) · 1.37 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
services:
parser:
build: ./spark-parsing
command: --cleanup True /opt/parse_graph.py --args "--cache-dir /app/cache_dir --out /app/out --output-type csv --parallelization 8 --tls-scan 2024-02-29 /app/tls --dns-scan tranco-A 2024-02-29 /app/dns/resolved-A.ipdomain --dns-scan tranco-AAAA 2024-02-29 /app/dns/resolved-AAAA.ipdomain"
ports:
- "127.0.0.1:4046:4040"
volumes:
- type: bind
source: ./example-data/dns
target: /app/dns
read_only: true
- type: bind
source: ./example-data/tls
target: /app/tls
read_only: true
- type: bind
source: ./example-data/cache_dir
target: /app/cache_dir
- type: bind
source: ./example-data/tls_graph
target: /app/out
ptp:
build: ./spark-parsing
command: --cleanup True /opt/run_ptp.py --args "--cache-dir /app/cache_dir --input-dir /app/exp --out /app/out --epsilon 0.01 --output-type csv --parallelization 8"
ports:
- "127.0.0.1:4046:4040"
volumes:
- type: bind
source: ./example-data/blocklists
target: /app/exp/blocklists
- type: bind
source: ./example-data/cache_dir
target: /app/cache_dir
- type: bind
source: ./example-data/tls_graph
target: /app/exp/tls_graph
- type: bind
source: ./example-data/tls_graph_ptp
target: /app/out