-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (35 loc) · 1.31 KB
/
Copy pathdocker-compose.yml
File metadata and controls
38 lines (35 loc) · 1.31 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
services:
# ── MobSF (optional sidecar) ─────────────────────────────────────────────
mobsf:
image: opensecurity/mobile-security-framework-mobsf:latest
ports:
- "28082:8000"
volumes:
- mobsf_data:/home/mobsf/.MobSF
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-fs", "http://localhost:8000/api/v1/"]
interval: 30s
timeout: 10s
retries: 5
start_period: 60s
# ── Analyzer ─────────────────────────────────────────────────────────────
analyzer:
build: .
depends_on:
mobsf:
condition: service_healthy
volumes:
- ./input:/data/input:ro
- ./output:/data/output
environment:
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
- MOBSF_URL=http://mobsf:8000
- MOBSF_API_KEY=${MOBSF_API_KEY:-}
- CLAUDE_MODEL=${CLAUDE_MODEL:-claude-sonnet-4-6}
# Override CMD to run a specific APK:
# docker compose run analyzer /data/input/target.apk -o /data/output
profiles:
- run # not started by default; run with: docker compose --profile run run analyzer
volumes:
mobsf_data: