Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
81 lines (71 loc) · 2.33 KB
/
Copy path.env.example
File metadata and controls
81 lines (71 loc) · 2.33 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# ====================================
# LYREBIRD ENVIRONMENT CONFIGURATION
# ====================================
# Copy this file to .env and fill in your values
# Never commit .env to Git!
# ----------------
# Service Ports
# ----------------
GATEWAY_PORT=3000
INGESTION_PORT=3001
ANALYSIS_PORT=3002
DASHBOARD_PORT=8080
# Database Configuration
DATABASE_HOST=localhost
DATABASE_PORT=5432
DATABASE_USER=postgres
DATABASE_PASSWORD=your_secure_password_here
DATABASE_NAME=lyrebird
# RabbitMQ Configuration
RABBITMQ_HOST=localhost
RABBITMQ_PORT=5672
RABBITMQ_MANAGEMENT_PORT=15672
RABBITMQ_USER=rabbitmq
RABBITMQ_PASSWORD=your_secure_password_here
RABBITMQ_VHOST=/
# Redis Configuration
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=your_secure_password_here
# ----------------
# Application
# ----------------
NODE_ENV=development
# ----------------
# Health Check Configuration
# ----------------
# Memory limits for health checks (in MB)
HEALTH_HEAP_LIMIT_MB=150
HEALTH_RSS_LIMIT_MB=150
# ----------------
# API Version
# ----------------
API_VERSION=v1
# ----------------
# Jetstream Configuration (Real-time streaming)
# ----------------
# Job duration in milliseconds (how long the streaming job runs)
# Default: 120000 (2 minutes) - good balance for real-time analysis
# Examples: 60000 = 1 min, 120000 = 2 min, 300000 = 5 min
JETSTREAM_MAX_DURATION_MS=120000
# Jetstream endpoint (optional, defaults to US East)
# JETSTREAM_ENDPOINT=wss://jetstream2.us-east.bsky.network/subscribe
# Enable zstd compression (requires decompression implementation, disabled by default)
# JETSTREAM_COMPRESS=false
# ----------------
# Authentication (Better Auth + Google OAuth)
# ----------------
# Generate secret: openssl rand -base64 32
BETTER_AUTH_SECRET="<generate with: openssl rand -base64 32>"
BETTER_AUTH_URL=http://localhost:3000
# Create OAuth 2.0 credentials at: https://console.cloud.google.com/apis/credentials
# Project: lyrebird-sa-2026 | Redirect URI: http://localhost:3000/api/auth/callback/google
GOOGLE_CLIENT_ID="<from Google Cloud Console>"
GOOGLE_CLIENT_SECRET="<from Google Cloud Console>"
# ----------------
# Machine Learning (Local ONNX Inference)
# ----------------
# Directory to cache downloaded ML models (default: ./models-cache)
ML_MODEL_CACHE_DIR=./models-cache
# Model quantization level: q8 (recommended), fp32, fp16 (default: q8)
ML_QUANTIZATION=q8