-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
57 lines (53 loc) · 1.29 KB
/
docker-compose.yml
File metadata and controls
57 lines (53 loc) · 1.29 KB
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
version: '3.8'
services:
xssprobe:
build:
context: .
dockerfile: Dockerfile
image: xssprobe:latest
container_name: xssprobe
volumes:
# Mount results directory to persist scan results
- ./results:/app/results
# Mount custom payloads (if you have them)
- ./payloads:/app/payloads:ro
environment:
# Set timezone
- TZ=UTC
# Python environment
- PYTHONUNBUFFERED=1
# Example scan command (override as needed)
command: ["-u", "https://example.com", "--depth", "2"]
# Uncomment to use specific network
# networks:
# - xssprobe-network
# Restart policy
restart: unless-stopped
# Security options
security_opt:
- no-new-privileges:true
# Read-only root filesystem (optional, for enhanced security)
# read_only: true
# tmpfs:
# - /tmp
# Optional: Web-based scanner with API (future feature)
# xssprobe-web:
# build:
# context: .
# dockerfile: Dockerfile.web
# ports:
# - "8080:8080"
# depends_on:
# - xssprobe
# environment:
# - XSSPROBE_API=true
# Optional: Custom networks
# networks:
# xssprobe-network:
# driver: bridge
# Volumes for persistent data
volumes:
results:
driver: local
payloads:
driver: local