-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (37 loc) · 977 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (37 loc) · 977 Bytes
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
version: "3.8"
services:
vulnscanner:
build: .
container_name: vulnscanner
volumes:
- ./output:/app/output
- ./logs:/app/logs
environment:
- VULNSCANNER_THREADS=10
- VULNSCANNER_TIMEOUT=30
- VULNSCANNER_USER_AGENT=Mozilla/5.0 (compatible; VulnScanner/1.0)
networks:
- vulnscanner-network
restart: unless-stopped
# Uncomment the following lines to run a specific scan
# command: ["python", "main.py", "example.com", "--scan-types", "web", "ssl", "--output", "html"]
# Optional: Add a web interface for viewing results
web-ui:
image: nginx:alpine
container_name: vulnscanner-ui
ports:
- "8080:80"
volumes:
- ./output:/usr/share/nginx/html:ro
- ./nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- vulnscanner
networks:
- vulnscanner-network
restart: unless-stopped
networks:
vulnscanner-network:
driver: bridge
volumes:
output:
logs: