forked from Xoulomon/Scavenger
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
50 lines (40 loc) · 1.15 KB
/
Copy path.env.example
File metadata and controls
50 lines (40 loc) · 1.15 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
# Scavenger Backend Environment Configuration
# Server Configuration
SERVER_HOST=0.0.0.0
SERVER_PORT=8080
LOG_FORMAT=json # or "pretty"
LOG_LEVEL=info
# Security
CSRF_SECRET=change-me-in-production
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:8080
# Email Service (SendGrid)
SENDGRID_API_KEY=your-sendgrid-api-key
FROM_EMAIL=noreply@scavenger.io
# Firebase Notifications
FIREBASE_PROJECT_ID=your-firebase-project-id
# Storage (AWS S3)
S3_BUCKET=your-bucket-name
AWS_REGION=us-east-1
AWS_ACCESS_KEY_ID=your-access-key
AWS_SECRET_ACCESS_KEY=your-secret-key
# Report Storage
STORAGE_PATH=/tmp/reports
# Elasticsearch Configuration
ELASTICSEARCH_URL=http://localhost:9200
# Optional: If using authentication
# ELASTICSEARCH_USERNAME=elastic
# ELASTICSEARCH_PASSWORD=changeme
# Search Configuration
SEARCH_MAX_RESULTS=10000
SEARCH_DEFAULT_PAGE_SIZE=20
SEARCH_MAX_PAGE_SIZE=100
# Rate Limiting
RATE_LIMIT_REQUESTS_PER_MINUTE=60
RATE_LIMIT_BURST_SIZE=10
# Archival Configuration
ARCHIVAL_STORAGE_PATH=/tmp/archives
# Or for S3
# ARCHIVAL_S3_BUCKET=my-archive-bucket
# ARCHIVAL_S3_REGION=us-east-1
ARCHIVAL_COMPRESSION_LEVEL=6
ARCHIVAL_JOB_SCHEDULE="0 2 * * *"