-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
128 lines (104 loc) · 3.03 KB
/
.env.example
File metadata and controls
128 lines (104 loc) · 3.03 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
# Environment Configuration
PORT=5000
WORKSPACE_DIR=./workspaces
# Database Connections (Optional - for testing)
# POSTGRES_HOST=localhost
# POSTGRES_PORT=5432
# POSTGRES_DB=mydb
# POSTGRES_USER=user
# POSTGRES_PASSWORD=password
# MYSQL_HOST=localhost
# MYSQL_PORT=3306
# MYSQL_DB=mydb
# MYSQL_USER=user
# MYSQL_PASSWORD=password
# MONGODB_URI=mongodb://localhost:27017
# MONGODB_DB=mydb
# Database Configuration
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_DB=algo_ide
POSTGRES_USER=algo_user
POSTGRES_PASSWORD=your_secure_password
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=your_redis_password
MONGODB_URI=mongodb://localhost:27017/algo_logs
# S3 Storage Configuration
S3_ENDPOINT=http://localhost:9000
S3_ACCESS_KEY=minioadmin
S3_SECRET_KEY=minioadmin
S3_BUCKET=algo-projects
S3_REGION=us-east-1
# Authentication
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=your_nextauth_secret_key_change_in_production
JWT_SECRET=your_jwt_secret_key_change_in_production
JWT_EXPIRATION=7d
# API Configuration
API_URL=http://localhost:4000
WEBSOCKET_URL=ws://localhost:4000
FRONTEND_URL=http://localhost:3000
# Copilot SaaS Configuration
COPILOT_API_URL=https://api.copilot.example.com
COPILOT_API_KEY=your_copilot_api_key
COPILOT_WORKSPACE_ID=your_workspace_id
COPILOT_ENABLED=false
# AI/ML Service Configuration
AI_SERVICE_URL=http://localhost:4000/api/v1/ai
AI_SERVICE_ENABLED=false
ML_MODEL_ENDPOINT=http://localhost:4000/api/v1/ai/models
# Container Configuration
DOCKER_HOST=unix:///var/run/docker.sock
GIT_BASE_PATH=./data/git-repos
CONTAINER_MEMORY_LIMIT=512m
CONTAINER_CPU_LIMIT=0.5
CONTAINER_NETWORK=algo-network
# Kubernetes Configuration
K8S_NAMESPACE=algo-ide
K8S_CONTEXT=minikube
# Rate Limiting
RATE_LIMIT_WINDOW=15m
RATE_LIMIT_MAX_REQUESTS=100
# SSL Configuration
SSL_AUTO_PROVISION=true
ACME_EMAIL=admin@example.com
# Monitoring
ENABLE_MONITORING=true
METRICS_PORT=9090
# Feature Flags
ENABLE_COLLABORATION=true
ENABLE_GIT_INTEGRATION=true
ENABLE_CUSTOM_DOMAINS=true
# Payment Gateway Configuration
STRIPE_SECRET_KEY=sk_test_your_stripe_secret_key
STRIPE_PUBLISHABLE_KEY=pk_test_your_stripe_publishable_key
STRIPE_WEBHOOK_SECRET=whsec_your_webhook_secret
# PayPal Configuration
PAYPAL_CLIENT_ID=your_paypal_client_id
PAYPAL_SECRET=your_paypal_secret
PAYPAL_MODE=sandbox
# Cryptocurrency Payment (Coinbase Commerce)
COINBASE_COMMERCE_API_KEY=your_coinbase_commerce_api_key
COINBASE_COMMERCE_WEBHOOK_SECRET=your_coinbase_webhook_secret
# Email Notification Service (choose one)
# Option 1: SendGrid
SENDGRID_API_KEY=your_sendgrid_api_key
# Option 2: SMTP
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_SECURE=false
SMTP_USER=your_email@gmail.com
SMTP_PASSWORD=your_app_password
SMTP_FROM=noreply@algo-ide.com
# SMS Notification Service (Twilio)
TWILIO_ACCOUNT_SID=your_twilio_account_sid
TWILIO_AUTH_TOKEN=your_twilio_auth_token
TWILIO_PHONE_NUMBER=+1234567890
# Billing Configuration
BILLING_EMAIL_FROM=billing@algo-ide.com
INVOICE_GENERATION_ENABLED=true
INVOICE_STORAGE_PATH=./invoices
# Usage Tracking
USAGE_TRACKING_ENABLED=true
USAGE_BILLING_DAY=1