forked from Iankulani/yellow_box_phish
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (48 loc) · 1.07 KB
/
Copy pathdocker-compose.yml
File metadata and controls
51 lines (48 loc) · 1.07 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
version: '3.8'
services:
yellowbox:
build: .
container_name: yellow_box_phish
hostname: yellowbox
restart: unless-stopped
ports:
- "8080:8080" # Web UI
- "8081-8090:8081-8090" # Phishing servers range
volumes:
- ./data:/app/.yellow_box_phish
- ./reports:/app/reports
- ./config:/app/config
- ./logs:/app/logs
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
- YELLOWBOX_ENV=production
- PYTHONUNBUFFERED=1
- TZ=UTC
cap_add:
- NET_ADMIN
- NET_RAW
- SYS_ADMIN
security_opt:
- apparmor:unconfined
shm_size: 2gb
networks:
- yellowbox_network
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
networks:
yellowbox_network:
driver: bridge
volumes:
data:
reports:
config:
logs: