forked from tls-attacker/TLS-Crawler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
83 lines (82 loc) · 2.11 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
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
version: '2.1'
services:
rabbitmq:
image: rabbitmq:3-management
restart: "no"
ports:
- 127.0.0.1:5672:5672
- 127.0.0.1:15672:15672
networks:
- crawler_overlay
healthcheck:
test: rabbitmq-diagnostics -q ping
interval: 5s
timeout: 30s
retries: 5
mongo:
image: mongo:latest
volumes:
- mongodata:/db/data
environment:
MONGO_INITDB_ROOT_USERNAME: mongoadmin
MONGO_INITDB_ROOT_PASSWORD: mongoadminpw
ports:
- 127.0.0.1:27017:27017
networks:
- crawler_overlay
controller:
build:
context: .
dockerfile: Dockerfile
args:
GIT_USR: ${GIT_USR}
GIT_PWD: ${GIT_PWD}
MODVAR_BRANCH: ${MODVAR_BRANCH}
ASN1_BRANCH: ${ASN1_BRANCH}
X509_BRANCH: ${X509_BRANCH}
ATTACKER_BRANCH: ${ATTACKER_BRANCH}
SCANNER_BRANCH: ${SCANNER_BRANCH}
restart: "no"
command: controller
-hostFile resources/text.txt
-denylist resources/denylist.txt
-portToBeScanned 443
-mongoDbHost mongo -mongoDbPort 27017 -mongoDbUser mongoadmin -mongoDbPass mongoadminpw
-mongoDbAuthSource admin
-rabbitMqHost rabbitmq -rabbitMqPort 5672
-scanName scanResults
-monitorScan
volumes:
- "./resources:/resources"
networks:
- crawler_overlay
depends_on:
rabbitmq:
condition: service_healthy
worker:
build:
context: .
dockerfile: Dockerfile
args:
GIT_USR: ${GIT_USR}
GIT_PWD: ${GIT_PWD}
MODVAR_BRANCH: ${MODVAR_BRANCH}
ASN1_BRANCH: ${ASN1_BRANCH}
X509_BRANCH: ${X509_BRANCH}
ATTACKER_BRANCH: ${ATTACKER_BRANCH}
SCANNER_BRANCH: ${SCANNER_BRANCH}
command: worker
-mongoDbHost mongo -mongoDbPort 27017
-mongoDbUser mongoadmin -mongoDbPass mongoadminpw -mongoDbAuthSource admin
-rabbitMqHost rabbitmq -rabbitMqPort 5672
-numberOfThreads 30
-parallelProbeThreads 50
networks:
- crawler_overlay
depends_on:
rabbitmq:
condition: service_healthy
volumes:
mongodata:
networks:
crawler_overlay: