-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
50 lines (48 loc) · 1.05 KB
/
docker-compose.yml
File metadata and controls
50 lines (48 loc) · 1.05 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
version: '3.8'
services:
phishbot:
build: .
container_name: phishbot
restart: unless-stopped
network_mode: host
privileged: true
volumes:
- ./phishbot_data:/app/.phishbot
- ./logs:/app/logs
- ./wordlists:/app/wordlists
- ./captured:/app/captured
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
- PHISHBOT_ENV=docker
- TZ=UTC
- PYTHONUNBUFFERED=1
env_file:
- .env
cap_add:
- NET_ADMIN
- NET_RAW
- SYS_ADMIN
security_opt:
- apparmor:unconfined
stdin_open: true
tty: true
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
phishbot-dev:
build:
context: .
target: builder
container_name: phishbot-dev
network_mode: host
privileged: true
volumes:
- .:/app
- ./phishbot_data:/app/.phishbot
environment:
- PHISHBOT_ENV=development
command: tail -f /dev/null
profiles:
- dev