forked from jafrank88/CaseStrainer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env
More file actions
43 lines (33 loc) · 1.1 KB
/
.env
File metadata and controls
43 lines (33 loc) · 1.1 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
# Redis Configuration
REDIS_PASSWORD=caseStrainerRedis123
REDIS_HOST=casestrainer-redis-prod
REDIS_PORT=6379
REDIS_DB=0
REDIS_URL=redis://:${REDIS_PASSWORD}@${REDIS_HOST}:${REDIS_PORT}/${REDIS_DB}
# API Configuration
FLASK_APP=src/app_final_vue.py
FLASK_ENV=development
FLASK_DEBUG=1
# Application Settings
SECRET_KEY=dev-change-this-in-production
UPLOAD_FOLDER=uploads
MAX_CONTENT_LENGTH=16 * 1024 * 1024 # 16MB max upload size
# Rate Limiting
RATE_LIMIT=100
RATE_WINDOW=3600
# Logging
LOG_LEVEL=INFO
LOG_FORMAT=%(asctime)s - %(name)s - %(levelname)s - %(message)s
# CORS Configuration
CORS_ORIGINS=http://localhost:8080,http://localhost:5000,https://wolf.law.uw.edu
# Database Configuration
DATABASE_URI=sqlite:///casestrainer.db
# Cache Configuration
CACHE_TYPE=RedisCache
CACHE_REDIS_URL=redis://:${REDIS_PASSWORD}@${REDIS_HOST}:${REDIS_PORT}/1
CACHE_DEFAULT_TIMEOUT=300
COURTLISTENER_API_KEY=443a87912e4f444fb818fca454364d71e4aa9f91
# Verification enabled with proper rate limit handling
ENABLE_VERIFICATION=True
# Enable verification registry (includes backup search for recent cases)
VERIFY_USE_REGISTRY=true