-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
47 lines (39 loc) · 1.33 KB
/
.env.example
File metadata and controls
47 lines (39 loc) · 1.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
APP_ENV=dev
DEBUG_MODE=true
# sqlitedb: sqlite:///sourceant.db
# sqlite is accepted for local development and quick testing
# mysql: mysql+pymysql://admin:admin@db:3306/sourceant
DATABASE_URL=postgresql://admin:admin@db:5432/sourceant
STATELESS_MODE=false
# LLM configuration
LLM_MODEL=gemini/gemini-2.5-flash
LLM_TOKEN_LIMIT=1000000
# Provider API keys (litellm reads these automatically)
GEMINI_API_KEY=your_gemini_api_key
# ANTHROPIC_API_KEY=your_anthropic_api_key
# DEEPSEEK_API_KEY=your_deepseek_api_key
# Example model strings:
# LLM_MODEL=gemini/gemini-2.5-flash
# LLM_MODEL=deepseek/deepseek-chat
# LLM_MODEL=anthropic/claude-sonnet-4-5-20250929
# GitHub configuration
GITHUB_APP_ID=1161781
GITHUB_APP_PRIVATE_KEY_PATH=sourceant.2025-02-28.sample.private-key.pem
GITHUB_APP_CLIENT_ID=Iv23liOAxxxxxM88Sqy97
# Optional: webhook signature verification secret
GITHUB_SECRET=secret
# Review configuration
REVIEW_DRAFT_PRS=false
# Policy for suggestions missing existing_code: drop, warn, keep
REVIEW_MISSING_EXISTING_CODE_POLICY=drop
# Logging configuration
LOG_DRIVER=console # console, file, syslog
LOG_FILE=sourceant.log
# Security configuration
WEBHOOK_SECRET=your_webhook_secret
REQUIRE_WEBHOOK_SECRET=false
SA_API_KEY=your_sourceant_api_key
# Redis configuration
REDIS_HOST=redis
REDIS_PORT=6379
QUEUE_MODE=redis # redis, redislite, request