-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (41 loc) · 1.07 KB
/
Copy pathdocker-compose.yml
File metadata and controls
52 lines (41 loc) · 1.07 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
version: '3.8'
services:
guardian:
build:
context: .
dockerfile: Dockerfile
image: guardian-cli:latest
container_name: guardian-pentest
# Environment variables (use .env file)
env_file:
- .env
# Volume mounts for persistence
volumes:
# Reports directory (persistent output)
- ./reports:/guardian/reports
# Logs directory
- ./logs:/guardian/logs
# Custom configuration (optional)
- ./config:/guardian/config
# Custom workflows (optional)
- ./workflows:/guardian/workflows
# Network configuration
network_mode: bridge
# Resource limits (optional - adjust based on your needs)
# deploy:
# resources:
# limits:
# cpus: '2'
# memory: 4G
# reservations:
# cpus: '1'
# memory: 2G
# Restart policy
restart: "no"
# Interactive mode
stdin_open: true
tty: true
# Optional: Named volumes for better management
# volumes:
# guardian_reports:
# guardian_logs: