-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
37 lines (30 loc) · 855 Bytes
/
.env.example
File metadata and controls
37 lines (30 loc) · 855 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
# Backend Configuration
# Copy this file to .env and update the values
# Database Configuration
DATABASE_URL=postgres://postgres:du_adnaan@localhost:5432/api_aggregator?sslmode=disable
DB_MAX_OPEN_CONNS=25
DB_MAX_IDLE_CONNS=5
DB_CONN_MAX_LIFETIME=5m
# Redis Configuration
REDIS_URL=redis://:du_adnaan@localhost:6379
REDIS_POOL_SIZE=10
REDIS_MIN_IDLE_CONN=2
# JWT Configuration (MUST change in production!)
JWT_SECRET=your-secret-key-change-in-production
# Server Configuration
PORT=8080
SERVER_READ_TIMEOUT=10s
SERVER_WRITE_TIMEOUT=10s
REQUEST_TIMEOUT=30s
# Embedding Service Configuration
EMBEDDING_URL=http://localhost:8765
EMBEDDING_TIMEOUT=30s
EMBEDDING_ENABLED=true
# Cache Configuration
CACHE_ENABLED=true
CACHE_TTL=24h
CACHE_SEMANTIC_MATCH=true
CACHE_THRESHOLD=0.85
# Registration Configuration
REGISTRATION_ENABLED=true
DEFAULT_QUOTA=10000