forked from bugninja-ai/bugninja-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
76 lines (65 loc) · 1.66 KB
/
.env.example
File metadata and controls
76 lines (65 loc) · 1.66 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
# Bugninja Platform Environment Configuration
# =================
# API Configuration
# =================
API_HOST=localhost
API_PORT=8000
API_SECRET_KEY=your-super-secret-jwt-token-with-at-least-32-characters-long
API_DEBUG=true
API_CORS_ORIGINS=http://localhost:3000
# =================
# Database (PostgreSQL)
# =================
DATABASE_URL=postgresql://bugninja_user:bugninja_password@localhost:5432/bugninja
DB_HOST=localhost
DB_PORT=5432
DB_NAME=bugninja
DB_USER=bugninja_user
DB_PASSWORD=bugninja_password
# =================
# Redis Configuration
# =================
REDIS_URL=redis://localhost:6379
REDIS_PASSWORD=
REDIS_DB=0
# =================
# Frontend Configuration
# =================
VITE_API_URL=http://localhost:8000
# =================
# Backend Processing
# =================
QUEUE_NAME=bugninja_tasks
RESULT_EXPIRY=3600
MAX_RETRIES=3
# =================
# Authentication
# =================
JWT_SECRET_KEY=your-super-secret-jwt-token-with-at-least-32-characters-long
JWT_ALGORITHM=HS256
JWT_ACCESS_TOKEN_EXPIRE_MINUTES=30
# =================
# External Integrations
# =================
GITHUB_CLIENT_ID=your-github-client-id
GITHUB_CLIENT_SECRET=your-github-client-secret
# =================
# Azure OpenAI Configuration
# =================
AZURE_OPENAI_ENDPOINT=https://your-resource.openai.azure.com/
AZURE_OPENAI_KEY=your-azure-openai-api-key
# =================
# Git Token for Private Repositories
# =================
GIT_TOKEN=your-github-personal-access-token
# =================
# Monitoring & Logging
# =================
LOG_LEVEL=INFO
SENTRY_DSN=
ENABLE_METRICS=false
# =================
# Development Only
# =================
DEV_MODE=true
HOT_RELOAD=true