-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
130 lines (96 loc) · 3.62 KB
/
Copy path.env.example
File metadata and controls
130 lines (96 loc) · 3.62 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
# ========================================
# API Configuration
# ========================================
# Server port
PORT=8000
# Environment (development, production, test)
NODE_ENV=development
# Client URL for CORS and redirects
CLIENT_URL=http://localhost:3000
# Server URL for API responses
SERVER_URL=http://localhost:8000
# GitHub Personal Access Token (optional, for API quota)
GAT=your_github_token_here
# ========================================
# Authentication (Better Auth)
# ========================================
# Secret key for JWT and session encryption
# Generate with: openssl rand -base64 32
BETTER_AUTH_SECRET=your_random_secret_here
# Frontend URL where auth sessions are created
BETTER_AUTH_URL=http://localhost:3000
# Cookie key for storing session tokens
BETTER_AUTH_TOKEN_KEY=better-auth.session_token
# ========================================
# Machine Learning / AI APIs
# ========================================
# Hugging Face API key for embeddings and ML models
# Get from: https://huggingface.co/settings/tokens
HUGGINGFACE_API_KEY=your_huggingface_api_key
# Google Generative AI API key for Gemini models
# Get from: https://makersuite.google.com/app/apikey
GOOGLE_GENAI_API_KEY=your_google_genai_api_key
# Groq API key for fast LLM inference
# Get from: https://console.groq.com/keys
GROQ_API_KEY=your_groq_api_key
# ========================================
# Database (PostgreSQL)
# ========================================
# PostgreSQL connection URL
# Format: postgresql://user:password@host:port/database
# Example for Neon (serverless Postgres):
# DATABASE_URL=postgresql://user:password@host.neon.tech/database?sslmode=require&channel_binding=require
DATABASE_URL=postgresql://user:password@localhost:5432/styxflow
# ========================================
# Vector Database (Qdrant)
# ========================================
# Qdrant API key for vector search
# Get from your Qdrant Cloud dashboard
QDRANT_KEY=your_qdrant_api_key
# Qdrant API URL
# Cloud example: https://your-cluster-id.eu-central-1-0.aws.cloud.qdrant.io:6333
# Local example: http://localhost:6333
QDRANT_URL=http://localhost:6333
# ========================================
# Cache & Message Queue (Redis)
# ========================================
# Redis username (usually 'default' for most providers)
REDIS_USERNAME=default
# Redis password
# Leave empty for local development without password
REDIS_PASSWORD=your_redis_password
# Redis host
# Local: localhost
# Cloud example: redis-xxxxx.redislabs.com
REDIS_HOST=localhost
# Redis port (default: 6379)
REDIS_PORT=6379
# ========================================
# Cloud Storage (AWS)
# ========================================
# AWS access key ID
# Get from: AWS IAM console
AWS_ACCESS_KEY=your_aws_access_key
# AWS secret access key
# Keep this secure! Never commit to version control
AWS_SECRET_ACCESS_KEY=your_aws_secret_access_key
# AWS region (optional, for S3 operations)
# Example: us-east-1
AWS_REGION=us-east-1
# ========================================
# Speech Synthesis (AWS Polly)
# ========================================
# AWS Polly is configured via the AWS credentials above
# No additional configuration needed, Polly uses AWS_ACCESS_KEY and AWS_SECRET_ACCESS_KEY
# ========================================
# Optional: Application-specific Settings
# ========================================
# Database logging (set to 'true' for debugging)
DB_LOGGING=false
# Enable request logging (set to 'true' for verbose logging)
VERBOSE_LOGGING=false
# Job queue settings
# Maximum number of jobs to process concurrently
MAX_CONCURRENT_JOBS=10
# Job timeout in milliseconds
JOB_TIMEOUT=30000