This repository has been archived by the owner on May 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
/
docker-compose.yaml
154 lines (144 loc) · 4.08 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
version: "3.3"
services:
redis:
image: redis:6
restart: on-failure
volumes:
- redis:/data
mongodb:
image: mongo:4
restart: on-failure
volumes:
- mongodb:/data
# See https://github.com/hashicorp/consul/blob/master/demo/docker-compose-cluster/docker-compose.yml
# for a production-ready config.
consul:
image: consul:1.8
restart: on-failure
command: consul agent -dev -log-level=info -client=0.0.0.0
ui:
image: mindcollapse/malware-multi-scan-ui
restart: on-failure
ports:
- "8888:8888"
depends_on:
- api
environment:
- "API_URL=http://api:5000"
- "NUXT_HOST=0.0.0.0"
- "NUXT_PORT=8888"
build:
context: MalwareMultiScan.Ui
dockerfile: Dockerfile
api:
image: mindcollapse/malware-multi-scan-api
restart: on-failure
depends_on:
- consul
- redis
- mongodb
environment:
- "REDIS_ADDRESS=redis:6379"
- "CONSUL_ADDRESS=http://consul:8500"
- "MONGO_ADDRESS=mongodb://mongodb:27017?connectTimeoutMS=120000"
build:
context: .
dockerfile: MalwareMultiScan.Api/Dockerfile
dummy-scanner:
image: mindcollapse/malware-multi-scan-scanner
restart: on-failure
depends_on:
- consul
- redis
environment:
- "REDIS_ADDRESS=redis:6379"
- "CONSUL_ADDRESS=http://consul:8500"
build:
context: .
dockerfile: MalwareMultiScan.Scanner/Dockerfile
clamav-scanner:
image: mindcollapse/malware-multi-scan-scanner-clamav
restart: on-failure
depends_on:
- dummy-scanner
environment:
- "REDIS_ADDRESS=redis:6379"
- "CONSUL_ADDRESS=http://consul:8500"
build:
context: MalwareMultiScan.Backends/Dockerfiles
dockerfile: Clamav.Dockerfile
windows-defender-scanner:
image: mindcollapse/malware-multi-scan-scanner-windows-defender
restart: on-failure
depends_on:
- dummy-scanner
environment:
- "REDIS_ADDRESS=redis:6379"
- "CONSUL_ADDRESS=http://consul:8500"
build:
context: MalwareMultiScan.Backends/Dockerfiles
dockerfile: WindowsDefender.Dockerfile
# IMPORTANT: FOLLOWING SCAN BACKENDS SHOULD BE ENABLED ONLY IF YOU HAVE A VALID LICENSE
# IMPORTANT: PLEASE CHECK VENDORS EULA TO STAY COMPLIANT WITH USAGE POLICY
# comodo-scanner:
# image: mindcollapse/malware-multi-scan-scanner-windows-comodo
# restart: on-failure
# depends_on:
# - dummy-scanner
# environment:
# - "REDIS_ADDRESS=redis:6379"
# - "CONSUL_ADDRESS=http://consul:8500"
# build:
# context: MalwareMultiScan.Backends/Dockerfiles
# dockerfile: Comodo.Dockerfile
#
# drweb-scanner:
# image: mindcollapse/malware-multi-scan-scanner-windows-drweb
# restart: on-failure
# depends_on:
# - dummy-scanner
# environment:
# - "REDIS_ADDRESS=redis:6379"
# - "CONSUL_ADDRESS=http://consul:8500"
# build:
# context: MalwareMultiScan.Backends/Dockerfiles
# dockerfile: DrWeb.Dockerfile
#
# kes-scanner:
# image: mindcollapse/malware-multi-scan-scanner-windows-kes
# restart: on-failure
# depends_on:
# - dummy-scanner
# environment:
# - "REDIS_ADDRESS=redis:6379"
# - "CONSUL_ADDRESS=http://consul:8500"
# build:
# context: MalwareMultiScan.Backends/Dockerfiles
# dockerfile: KES.Dockerfile
#
# mcafee-scanner:
# image: mindcollapse/malware-multi-scan-scanner-windows-mcafeee
# restart: on-failure
# depends_on:
# - dummy-scanner
# environment:
# - "REDIS_ADDRESS=redis:6379"
# - "CONSUL_ADDRESS=http://consul:8500"
# build:
# context: MalwareMultiScan.Backends/Dockerfiles
# dockerfile: McAfee.Dockerfile
#
# sophos-scanner:
# image: mindcollapse/malware-multi-scan-scanner-windows-sophos
# restart: on-failure
# depends_on:
# - dummy-scanner
# environment:
# - "REDIS_ADDRESS=redis:6379"
# - "CONSUL_ADDRESS=http://consul:8500"
# build:
# context: MalwareMultiScan.Backends/Dockerfiles
# dockerfile: Sophos.Dockerfile
volumes:
mongodb:
redis: