-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy path.env.example
More file actions
72 lines (59 loc) · 2.46 KB
/
.env.example
File metadata and controls
72 lines (59 loc) · 2.46 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
# Rikune - Environment Variables
# Copy this file to .env and customize as needed
# =============================================================================
# Server Configuration
# =============================================================================
SERVER_PORT=3000
SERVER_HOST=localhost
LOG_LEVEL=info
# =============================================================================
# Workspace Configuration
# =============================================================================
WORKSPACE_ROOT=/app/workspaces
DB_PATH=/app/data/database.db
CACHE_ROOT=/app/cache
MAX_SAMPLE_SIZE=524288000 # 500MB
# =============================================================================
# Ghidra Configuration
# =============================================================================
GHIDRA_PATH=/opt/ghidra
GHIDRA_PROJECT_ROOT=/ghidra-projects
GHIDRA_LOG_ROOT=/ghidra-logs
GHIDRA_MIN_JAVA_VERSION=21
GHIDRA_MAX_CONCURRENT=4
GHIDRA_TIMEOUT=300
GHIDRA_CLEANUP_AFTER_ANALYSIS=false
GHIDRA_LOG_RETENTION_DAYS=30
# =============================================================================
# API File Server Configuration (AUTO-ENABLED)
# =============================================================================
# API server is enabled by default in Docker
API_ENABLED=true
# API server port (default: 18080)
API_PORT=18080
# API Key for authentication (OPTIONAL)
# If not set, a random key will be auto-generated on each startup
# To persist across restarts, generate with: openssl rand -hex 32
# API_KEY=your-secret-key-here
# Maximum file size in bytes (default: 500MB)
API_MAX_FILE_SIZE=524288000
# Storage root directory (default: /app/storage)
API_STORAGE_ROOT=/app/storage
# File retention period in days (default: 30)
API_RETENTION_DAYS=30
# =============================================================================
# Python Worker Configuration
# =============================================================================
PYTHON_PATH=python3
CAPA_PATH=capa
DIE_PATH=die
# =============================================================================
# Optional: Capa Rules Path
# =============================================================================
CAPA_RULES_PATH=/app/capa/rules
# =============================================================================
# Optional: Frida Configuration
# =============================================================================
FRIDA_ENABLED=false
FRIDA_PATH=frida
FRIDA_SCRIPT_ROOT=/app/src/plugins/frida/scripts