-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.local.example
More file actions
34 lines (28 loc) · 2.09 KB
/
.env.local.example
File metadata and controls
34 lines (28 loc) · 2.09 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
# ─────────────────────────────────────────────────────────────────────────────
# AI Organization — Local / Self-Hosted Mode
# ─────────────────────────────────────────────────────────────────────────────
# Steps:
# 1. cp .env.local.example .env.local
# 2. Fill in your LLM API keys below
# 3. docker-compose -f go-backend/deploy/docker-compose.local.yml up --build
# 4. Open http://localhost:3000 — no login required
# ── Auth Mode ─────────────────────────────────────────────────────────────────
AUTH_DISABLED=true # No login — straight to dashboard
LOCAL_USER_EMAIL=local@localhost
# ── Your LLM API Keys ─────────────────────────────────────────────────────────
# Add whichever providers you have. The system will use whatever is available.
OPENAI_API_KEY=sk-...
ANTHROPIC_API_KEY=sk-ant-...
GOOGLE_API_KEY=AIza...
# ── Encryption (required even locally — protects keys stored in local DB) ─────
# Generate with: openssl rand -hex 32
KEY_ENCRYPTION_KEY=
# ── Local Database (auto-managed by Docker Compose) ───────────────────────────
POSTGRES_USER=aiorg
POSTGRES_PASSWORD=changeme
POSTGRES_DB=aiorg
# ── Dashboard ─────────────────────────────────────────────────────────────────
NEXT_PUBLIC_API_URL=http://localhost:8080
NEXT_PUBLIC_WS_URL=ws://localhost:8081
NEXT_PUBLIC_AUTH_DISABLED=true
NEXTAUTH_SECRET=changeme-local-dashboard-secret