-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
77 lines (63 loc) · 1.72 KB
/
docker-compose.yml
File metadata and controls
77 lines (63 loc) · 1.72 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
version: '3.8'
services:
# Argus Complete 6-Phase Security Scanner
argus-scanner:
build:
context: .
dockerfile: Dockerfile.complete
image: argus-scanner:latest
container_name: argus-scanner
environment:
# AI Provider Configuration
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
- OPENAI_API_KEY=${OPENAI_API_KEY:-}
- OLLAMA_ENDPOINT=${OLLAMA_ENDPOINT:-}
# Phase Enablement (all 6 phases)
- ENABLE_REMEDIATION=true
- ENABLE_THREAT_INTEL=true
- ENABLE_MULTI_AGENT=true
- ENABLE_SANDBOX=true
- ENABLE_SPONTANEOUS_DISCOVERY=true
- ENABLE_HEURISTICS=true
# Tool Enablement
- SEMGREP_ENABLED=true
- TRIVY_ENABLED=true
- CHECKOV_ENABLED=true
# Performance
- PYTHONUNBUFFERED=1
volumes:
# Mount target repository to analyze
- ${TARGET_REPO:-./target}:/workspace:ro
# Mount output directory for results
- ${OUTPUT_DIR:-./output}:/output
# Cache directory for faster subsequent scans
- argus-cache:/cache
# Docker socket for Phase 4 Sandbox Validation
- /var/run/docker.sock:/var/run/docker.sock
working_dir: /workspace
# Network configuration
networks:
- argus-network
# Resource limits
deploy:
resources:
limits:
cpus: '4.0'
memory: 8G
reservations:
cpus: '2.0'
memory: 4G
# Health check
healthcheck:
test: ["CMD", "python", "-c", "import scripts.hybrid_analyzer; print('healthy')"]
interval: 30s
timeout: 10s
retries: 3
start_period: 5s
volumes:
argus-cache:
name: argus-cache
networks:
argus-network:
name: argus-network
driver: bridge