-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
132 lines (103 loc) · 4 KB
/
.env.example
File metadata and controls
132 lines (103 loc) · 4 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
131
132
# ============================================================
# DaveFelix Coding Engine — Environment Configuration
# ============================================================
# Copy this file to .env and fill in your keys:
# cp .env.example .env
#
# Or run the interactive setup:
# bash setup.sh
# ============================================================
# ---- Application ----
APP_NAME=coding-engine
APP_ENV=development
DEBUG=true
# ============================================================
# LLM API Keys (at least one required)
# ============================================================
# OpenAI — Primary code generation (GPT-5.4)
# Get your key: https://platform.openai.com/api-keys
OPENAI_API_KEY=
# Anthropic — Claude Agent SDK (optional, for direct API calls)
# Get your key: https://console.anthropic.com/settings/keys
ANTHROPIC_API_KEY=
# OpenRouter — Multi-model gateway (optional, for free models)
# Get your key: https://openrouter.ai/keys
OPENROUTER_API_KEY=
# ============================================================
# GitHub (required for Git push / PR management)
# ============================================================
# GitHub Personal Access Token
# Create at: https://github.com/settings/tokens
# Required scopes: repo (full control of private repositories)
GITHUB_TOKEN=
GITHUB_DEFAULT_PRIVATE=true
# ============================================================
# Discord Bot (optional — orchestration notifications)
# ============================================================
# Main bot token (orchestrator, task status, PR notifications)
DISCORD_BOT_TOKEN=
# Analyzer bot token (code review, fix suggestions)
DISCORD_BOT_TOKEN_ANALYZER=
# Discord channel IDs (defaults work if using our server)
DISCORD_CHANNEL_ID=
DISCORD_CH_DEV_TASKS=
DISCORD_CH_PRS=
DISCORD_CH_FIXES=
DISCORD_CH_ORCHESTRATOR=
DISCORD_CH_TESTING=
DISCORD_CH_DONE=
# ============================================================
# External Services (optional)
# ============================================================
# Supermemory — Code pattern memory / RAG
# Get your key: https://console.supermemory.ai/
SUPERMEMORY_API_KEY=
# OpenClaw Gateway — Master orchestrator (optional)
OPENCLAW_GATEWAY_TOKEN=
# ============================================================
# Pipeline Configuration
# ============================================================
PIPELINE_MAX_CONCURRENT=5
PIPELINE_MAX_ITERATIONS=3
PIPELINE_SLICE_SIZE=10
PIPELINE_OUTPUT_DIR=./output
CLAUDE_CLI_TIMEOUT=300
# LLM backend: openai | openrouter | anthropic | kilo
LLM_BACKEND=kilo
# ============================================================
# Generated App Defaults (used by agents during generation)
# ============================================================
# Admin user seeded into generated apps
ADMIN_EMAIL=admin@example.com
ADMIN_PASSWORD=admin123!
# Auto-push generated code to GitHub (true/false)
GIT_AUTO_PUSH=false
# Disable Fungus RAG context (true to skip)
# DISABLE_FUNGUS=false
# ============================================================
# Infrastructure (auto-configured by docker-compose)
# Override only if running services outside Docker
# ============================================================
# Database
# DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/coding_engine
# DATABASE_POOL_SIZE=20
# REDIS_URL=redis://localhost:6379/0
# API Server
# API_HOST=0.0.0.0
# API_PORT=8000
# API_WORKERS=4
# Git Server (Gitea)
# GIT_SERVER_URL=http://localhost:3000
# Sandbox URLs (auto-set in docker-compose)
# SANDBOX_APP_URL=http://localhost:3100
# AUTOMATION_UI_URL=http://localhost:8007
# Internal service URLs
PROJECT_CREATE_API_URL=http://localhost:8087
CODING_ENGINE_API_URL=http://localhost:8000
# OAuth (optional — only if generated apps use OAuth)
# GOOGLE_CLIENT_ID=
# GOOGLE_REDIRECT_URI=http://localhost:3000/auth/google/callback
# GITHUB_CLIENT_ID=
# GITHUB_REDIRECT_URI=http://localhost:3000/auth/github/callback
# Vault (optional — HashiCorp Vault for secrets management)
# VAULT_TOKEN=