-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
47 lines (41 loc) · 1.71 KB
/
.env.example
File metadata and controls
47 lines (41 loc) · 1.71 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
# =============================================================================
# iOpsData Environment Variables (Backend + Frontend)
# =============================================================================
# Copy this file to .env at the repo root and update values.
# Frontend variables should also be copied to frontend/.env.local.
# -----------------------------------------------------------------------------
# Backend - Core
# -----------------------------------------------------------------------------
APP_ENV=dev
APP_NAME=iOpsData
DEBUG=false
# Required: encryption key for connection metadata
# Generate with: python - <<'PY'
# from cryptography.fernet import Fernet
# print(Fernet.generate_key().decode())
# PY
FERNET_KEY=
# CORS (comma-separated or wildcard)
CORS_ORIGINS=http://localhost:3000
# -----------------------------------------------------------------------------
# Supabase (Backend)
# -----------------------------------------------------------------------------
SUPABASE_URL=
SUPABASE_ANON_KEY=
SUPABASE_MAX_CONNECTIONS=50
SUPABASE_MAX_KEEPALIVE=10
SUPABASE_TIMEOUT=30
# -----------------------------------------------------------------------------
# LLM Providers (Backend)
# -----------------------------------------------------------------------------
OPENAI_API_KEY=
OPENAI_BASE_URL=https://api.openai.com/v1
ANTHROPIC_API_KEY=
ANTHROPIC_BASE_URL=https://api.anthropic.com/v1
# -----------------------------------------------------------------------------
# Frontend (Next.js) - copy to frontend/.env.local
# -----------------------------------------------------------------------------
NEXT_PUBLIC_API_URL=http://localhost:8000
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
NEXT_PUBLIC_APP_ENV=dev