-
-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
60 lines (49 loc) · 1.41 KB
/
docker-compose.yml
File metadata and controls
60 lines (49 loc) · 1.41 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
58
59
version: '3.8'
services:
psfuzz:
build:
context: .
dockerfile: Dockerfile
image: psfuzz:1.0.0
container_name: psfuzz
# Override entrypoint for interactive use
# entrypoint: ["/bin/sh"]
# Mount volumes for wordlists and output
# NOTE: Copy config.example.json to config.json before running: cp config.example.json config.json
volumes:
- ./wordlists:/app/wordlists:ro
- ./output:/app/output
# Uncomment after creating config.json from config.example.json:
# - ./config.json:/app/config.json:ro
# Example: Scan example.com
command: ["-u", "https://example.com", "-d", "default", "-c", "5", "-o", "/app/output/scan"]
# Network mode
network_mode: "bridge"
# Resource limits (optional)
deploy:
resources:
limits:
cpus: '2.0'
memory: 512M
reservations:
cpus: '1.0'
memory: 256M
# Environment variables (optional)
environment:
- TZ=UTC
# Restart policy
restart: "no"
# Example: Scan with custom wordlist
psfuzz-custom:
image: psfuzz:1.0.0
container_name: psfuzz-custom
volumes:
- ./wordlists:/app/wordlists:ro
- ./output:/app/output
command: ["-u", "https://target.com", "-d", "/app/wordlists/custom.txt", "-c", "10"]
profiles:
- custom
# Networks
networks:
default:
name: psfuzz-network