forked from Stanzin7/ExtensionShield
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (34 loc) · 1.01 KB
/
docker-compose.yml
File metadata and controls
35 lines (34 loc) · 1.01 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
# ExtensionShield Docker Compose Configuration
# For BlackHat Arsenal 2026 Demo
services:
extension-shield:
build:
context: .
dockerfile: Dockerfile
container_name: extension-shield
ports:
- "8007:8007"
volumes:
# Persist downloaded extensions
- ./extensions_storage:/app/extensions_storage
# Persist SQLite database
- ./data:/app/data
environment:
# LLM Configuration (OpenAI default)
- LLM_PROVIDER=${LLM_PROVIDER:-openai}
- LLM_MODEL=${LLM_MODEL:-gpt-4o}
- OPENAI_API_KEY=${OPENAI_API_KEY}
# Optional: VirusTotal integration
- VIRUSTOTAL_API_KEY=${VIRUSTOTAL_API_KEY:-}
# Storage paths (container paths)
- EXTENSION_STORAGE_PATH=/app/extensions_storage
- DATABASE_PATH=/app/data/extension-shield.db
env_file:
- .env
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8007/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s