-
Notifications
You must be signed in to change notification settings - Fork 403
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
54 lines (51 loc) · 1.4 KB
/
docker-compose.yml
File metadata and controls
54 lines (51 loc) · 1.4 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
version: '3.8'
services:
argus:
build: .
container_name: argus-recon
image: argus-recon:latest
volumes:
# Mount results directory for persistent output
- ./results:/app/results
# Mount config directory for custom configuration
- ./config:/app/config
# Mount logs directory for debugging
- ./logs:/app/logs
environment:
# Set environment variables for API keys
- VIRUSTOTAL_API_KEY=${VIRUSTOTAL_API_KEY:-}
- SHODAN_API_KEY=${SHODAN_API_KEY:-}
- CENSYS_API_ID=${CENSYS_API_ID:-}
- CENSYS_API_SECRET=${CENSYS_API_SECRET:-}
- GOOGLE_API_KEY=${GOOGLE_API_KEY:-}
- HIBP_API_KEY=${HIBP_API_KEY:-}
# Python environment
- PYTHONUNBUFFERED=1
- PYTHONDONTWRITEBYTECODE=1
# Run in interactive mode for CLI usage
stdin_open: true
tty: true
# Use host network for better network access
network_mode: host
# Restart policy
restart: unless-stopped
# Security options
security_opt:
- no-new-privileges:true
# Resource limits
deploy:
resources:
limits:
memory: 2G
cpus: '2.0'
reservations:
memory: 512M
cpus: '0.5'
# Health check
healthcheck:
test: ["CMD", "python", "-c", "import argus; print('Argus is healthy')"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
volumes: