Spaces:
Building
Building
Update .env.example
Browse files- .env.example +39 -10
.env.example
CHANGED
@@ -1,13 +1,42 @@
|
|
1 |
-
#
|
2 |
-
JWT_SECRET=your-very-long-random-secret-key-change-this-in-production
|
3 |
-
JWT_ALGORITHM=HS256
|
4 |
-
JWT_EXPIRATION_HOURS=24
|
5 |
|
6 |
-
#
|
7 |
-
|
8 |
|
9 |
-
#
|
10 |
-
|
11 |
|
12 |
-
# Environment
|
13 |
-
ENVIRONMENT=development
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Flare Environment Configuration
|
|
|
|
|
|
|
2 |
|
3 |
+
# Logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
|
4 |
+
LOG_LEVEL=INFO
|
5 |
|
6 |
+
# CORS allowed origins (comma-separated)
|
7 |
+
ALLOWED_ORIGINS=http://localhost:4200
|
8 |
|
9 |
+
# Environment mode
|
10 |
+
ENVIRONMENT=development
|
11 |
+
|
12 |
+
# JWT Authentication
|
13 |
+
JWT_SECRET=your-secret-here
|
14 |
+
|
15 |
+
# Encryption key for sensitive data (32-byte base64 key)
|
16 |
+
FERNET_KEY=your-32-byte-base64-key
|
17 |
+
|
18 |
+
# Session configuration
|
19 |
+
SESSION_TIMEOUT_MINUTES=30
|
20 |
+
MAX_CONCURRENT_SESSIONS=1000
|
21 |
+
|
22 |
+
# Elasticsearch configuration (optional)
|
23 |
+
ELASTICSEARCH_URL=
|
24 |
+
|
25 |
+
# Database configuration (future use)
|
26 |
+
DATABASE_URL=
|
27 |
+
|
28 |
+
# Redis configuration (future use)
|
29 |
+
REDIS_URL=
|
30 |
+
|
31 |
+
# Provider-specific API keys (if not using HuggingFace secrets)
|
32 |
+
OPENAI_API_KEY=
|
33 |
+
ANTHROPIC_API_KEY=
|
34 |
+
SPARK_TOKEN=
|
35 |
+
|
36 |
+
# Google Cloud credentials for STT (path to JSON file)
|
37 |
+
GOOGLE_APPLICATION_CREDENTIALS=
|
38 |
+
|
39 |
+
# HuggingFace configuration
|
40 |
+
HF_HOME=/app/.cache
|
41 |
+
HF_DATASETS_CACHE=/app/.cache
|
42 |
+
HF_HUB_CACHE=/app/.cache
|