-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
84 lines (66 loc) · 1.87 KB
/
.env.example
File metadata and controls
84 lines (66 loc) · 1.87 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
# Terradev Environment Configuration
# Copy this file to .env and fill in your actual values
# Database Configuration
DATABASE_URL=postgresql://user:password@localhost:5432/terradev
REDIS_URL=redis://localhost:6379/0
# Security Configuration
SECRET_KEY=your-secret-key-here
JWT_SECRET=your-jwt-secret-here
ENCRYPTION_KEY=your-encryption-key-here
# Cloud Provider Credentials
# TensorDock
TENSORDOCK_API_KEY=your-tensordock-api-key
TENSORDOCK_SECRET=your-tensordock-secret
# Vast.AI
VAST_API_KEY=your-vast-api-key
# Google Cloud Platform
GCP_PROJECT_ID=your-gcp-project-id
GCP_CREDENTIALS_PATH=path/to/gcp-credentials.json
GCP_ZONE=us-central1-a
# AWS
AWS_ACCESS_KEY_ID=your-aws-access-key
AWS_SECRET_ACCESS_KEY=your-aws-secret-key
AWS_REGION=us-west-2
# RunPod
RUNPOD_API_KEY=your-runpod-api-key
# Lambda Labs
LAMBDA_API_KEY=your-lambda-api-key
# CoreWeave
COREWEAVE_API_KEY=your-coreweave-api-key
# Application Configuration
DEBUG=false
LOG_LEVEL=INFO
PORT=8000
HOST=0.0.0.0
# Monitoring Configuration
PROMETHEUS_PORT=9090
GRAFANA_PORT=3000
GRAFANA_ADMIN_PASSWORD=your-grafana-admin-password
# Rate Limiting
RATE_LIMIT_PER_MINUTE=60
RATE_LIMIT_BURST=10
# Cache Configuration
CACHE_TTL=300
CACHE_MAX_SIZE=1000
# Email Configuration (optional)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USERNAME=your-email@gmail.com
SMTP_PASSWORD=your-email-password
SENDER_EMAIL=noreply@terradev.com
# Stripe Configuration (REQUIRED for payments)
STRIPE_SECRET_KEY=sk_test_your_stripe_secret_key_here
STRIPE_WEBHOOK_SECRET=whsec_your_webhook_secret_here
STRIPE_PUBLISHABLE_KEY=pk_test_your_publishable_key_here
# Webhook Configuration (optional)
SLACK_WEBHOOK_URL=your-slack-webhook-url
DISCORD_WEBHOOK_URL=your-discord-webhook-url
# Feature Flags
ENABLE_MONITORING=true
ENABLE_LOGGING=true
ENABLE_METRICS=true
ENABLE_TRACING=false
# Performance Configuration
MAX_WORKERS=4
WORKER_TIMEOUT=30
MAX_CONNECTIONS=100