-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
56 lines (47 loc) · 2.12 KB
/
.env.example
File metadata and controls
56 lines (47 loc) · 2.12 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
# ============================================
# engineerr.ai Docker Environment Variables
# ============================================
# Copy this file to .env and fill in the values:
# cp .env.example .env
#
# Then run: docker compose up
# ============================================
# --------------------------------------------
# GitHub OAuth App Credentials (REQUIRED)
# --------------------------------------------
# Create a GitHub OAuth App at:
# https://github.com/settings/developers -> OAuth Apps -> New OAuth App
#
# Application name: engineerr-local (or anything you like)
# Homepage URL: http://localhost:5173
# Authorization callback URL: http://localhost:3000/api/auth/callback
#
# After creating, copy the Client ID and generate a Client Secret:
GITHUB_OAUTH_CLIENT_ID=your_github_oauth_client_id_here
GITHUB_OAUTH_CLIENT_SECRET=your_github_oauth_client_secret_here
# --------------------------------------------
# JWT Secret (REQUIRED for production)
# --------------------------------------------
# Generate a random secret for signing JWT tokens.
# You can generate one with: openssl rand -base64 32
# If not set, a default insecure value is used (DO NOT use in production!)
JWT_SECRET=your-super-secret-jwt-key-change-in-production
# --------------------------------------------
# OpenCode AI Agent (REQUIRED for task execution)
# --------------------------------------------
# OpenCode requires at least one AI provider API key.
# Get your Anthropic API key at: https://console.anthropic.com/
# Get your OpenAI API key at: https://platform.openai.com/api-keys
ANTHROPIC_API_KEY=your_anthropic_api_key_here
# OPENAI_API_KEY=your_openai_api_key_here
# OpenCode server password (default: dev)
# OPENCODE_PASSWORD=dev
# --------------------------------------------
# Optional: Override defaults
# --------------------------------------------
# These have sensible defaults but can be customized:
# JWT_EXPIRY_HOURS=720
# DATABASE_URL=postgresql://postgres:postgres@postgres:5432/engineerr?sslmode=disable
# FRONTEND_URL=http://localhost:5173
# OAUTH_REDIRECT_URL=http://localhost:3000/api/auth/callback
# OPENCODE_URL=http://opencode:4096