-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (34 loc) · 1.08 KB
/
Copy pathdocker-compose.yml
File metadata and controls
35 lines (34 loc) · 1.08 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
services:
bb-huge:
build: .
container_name: bb-huge
restart: unless-stopped
ports:
- "5000:5000"
environment:
SECRET_KEY: ${SECRET_KEY:-super-secret-flask-key-change-me}
DEV_KEY: ${DEV_KEY:-bb-huge-dev-key-change-me}
FLASK_PORT: "5000"
FLASK_DEBUG: "1"
volumes:
# Persist the database
- bb_huge_db:/app/instance
# Persist the recon toolkit installed by
# assets/scripts/bb-install-tools.sh (Go toolchain + compiled
# tools + module cache) so a container recreation doesn't force a
# full reinstall — only removed by `docker compose down -v`.
- bb_huge_go_local:/home/bbhuge/.local
- bb_huge_go_path:/home/bbhuge/go
# Hot-reload mounts — source code reflected instantly
- ./app:/app/app
- ./skills:/app/skills
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:5000/login')"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
volumes:
bb_huge_db:
bb_huge_go_local:
bb_huge_go_path: