-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
46 lines (37 loc) · 989 Bytes
/
Copy path.env.example
File metadata and controls
46 lines (37 loc) · 989 Bytes
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
# Database
DATABASE_URL=postgresql://reconny:reconny123@localhost:5432/reconny
DATABASE_POOL_SIZE=20
# Redis
REDIS_URL=redis://localhost:6379/0
CELERY_BROKER_URL=redis://localhost:6379/1
CELERY_RESULT_BACKEND=redis://localhost:6379/2
# API
API_V1_PREFIX=/api/v1
SECRET_KEY=your-secret-key-here-change-in-production
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30
# AI
OPENAI_API_KEY=sk-your-openai-key-here
AI_MODEL=gpt-4
AI_TEMPERATURE=0.3
# Tools Paths
SUBFINDER_PATH=/usr/local/bin/subfinder
HTTPX_PATH=/usr/local/bin/httpx
KATANA_PATH=/usr/local/bin/katana
NUCLEI_PATH=/usr/local/bin/nuclei
# Storage
STORAGE_PATH=./storage/jobs
MAX_STORAGE_PER_JOB_GB=10
# Worker Configuration
WORKER_CONCURRENCY=4
WORKER_MAX_TASKS_PER_CHILD=100
WORKER_TIMEOUT_SECONDS=3600
# Rate Limiting
RATE_LIMIT_PER_USER_PER_HOUR=10
MAX_CONCURRENT_SCANS_PER_USER=3
# Logging
LOG_LEVEL=INFO
LOG_FILE=./logs/reconny.log
# Security
ALLOWED_DOMAINS=*
CORS_ORIGINS=http://localhost:3000,http://localhost:8000