-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy path.env.example
More file actions
61 lines (51 loc) · 4.63 KB
/
Copy path.env.example
File metadata and controls
61 lines (51 loc) · 4.63 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
# ══════════════════════════════════════════════════════════════════════
# Loomic Environment Variables
# ══════════════════════════════════════════════════════════════════════
# Copy to .env.local (local dev) or .env.cloud (cloud deploy).
# Values marked [required] must be set; others have sensible defaults.
# ── Server ─────────────────────────────────────────────────────────
LOOMIC_SERVER_PORT=3001
LOOMIC_WEB_ORIGIN=http://localhost:3000
NEXT_PUBLIC_SERVER_BASE_URL=http://localhost:3001 # cloud: https://your-api.up.railway.app
# ── Supabase (required) ───────────────────────────────────────────
SUPABASE_URL=https://your-project-ref.supabase.co # [required]
SUPABASE_ANON_KEY=your-anon-key # [required]
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key # [required] server-only, never expose
SUPABASE_DB_URL='postgresql://postgres:<pw>@host:port/postgres' # [required] for PGMQ worker queue
SUPABASE_PROJECT_ID=your-project-ref # [required] for JWT verification
SUPABASE_JWT_SECRET={"x":"...","y":"...","alg":"ES256","crv":"P-256","kty":"EC","key_ops":["verify"]}
# Supabase browser-safe (NEXT_PUBLIC_ prefix exposes to frontend)
NEXT_PUBLIC_SUPABASE_URL=https://your-project-ref.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
# ── Agent LLM ─────────────────────────────────────────────────────
LOOMIC_AGENT_BACKEND_MODE=state # "state" (default) or "filesystem"
LOOMIC_AGENT_MODEL=google:gemini-3-flash-preview # format: <provider>:<model-id>
# Provider "openai" → needs OPENAI_API_KEY (+ optional OPENAI_API_BASE for proxy)
# Provider "google" → needs GOOGLE_API_KEY
OPENAI_API_KEY= # optional, for openai provider
OPENAI_API_BASE= # optional, custom endpoint / proxy
GOOGLE_API_KEY= # optional, for google provider + Veo video + Imagen image
# ── Image / Video Generation ─────────────────────────────────────
REPLICATE_API_TOKEN= # optional, enables 13 Replicate video/image models
# GOOGLE_API_KEY above also enables Google Veo 3.1 video + Imagen image (Developer API)
# ── Google Vertex AI (optional, coexists with Developer API) ────
# Uses GCP service account for auth. Both Developer API and Vertex AI
# can be configured simultaneously — they register as separate providers.
GOOGLE_APPLICATION_CREDENTIALS= # path to service account JSON (e.g., ./credentials/vertex-ai-sa.json)
GOOGLE_VERTEX_PROJECT= # GCP project ID (e.g., my-project-123456)
GOOGLE_VERTEX_LOCATION= # GCP region (e.g., us-central1)
# ── Skills & Sandbox ─────────────────────────────────────────────
# Local dev: relative from apps/server/ cwd → ../../skills
# Docker/Railway: /opt/loomic/skills (Dockerfile copies skills/ there)
LOOMIC_SKILLS_ROOT=../../skills
# ── Worker (optional, defaults shown) ────────────────────────────
# WORKER_CODE_CONCURRENCY=3
# WORKER_IMAGE_CONCURRENCY=3
# WORKER_VIDEO_CONCURRENCY=2
# WORKER_POLL_INTERVAL_MS=2000
# ── Misc ─────────────────────────────────────────────────────────
GOOGLE_FONTS_API_KEY= # optional, brand kit font picker
# VOLCES_API_KEY= # optional, TTS
# VOLCES_BASE_URL= # optional, TTS
# ── Local dev only ───────────────────────────────────────────────
# GLOBAL_AGENT_HTTP_PROXY=http://127.0.0.1:7890 # HTTP proxy for outbound requests