-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
42 lines (36 loc) · 3.13 KB
/
Copy path.env.example
File metadata and controls
42 lines (36 loc) · 3.13 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
# ─────────────────────────────────────────────────────────────────────────────
# Local AI / LLM settings
# Copy this file to .env.local and fill in values.
# ─────────────────────────────────────────────────────────────────────────────
# Ollama (default) — http://localhost:11434/v1
# LM Studio — http://localhost:1234/v1
# AWS EC2 Ollama — http://<private-ip>:11434/v1
LLM_BASE_URL=http://localhost:11434/v1
# API key. Ollama ignores this value; LM Studio may require one.
LLM_API_KEY=ollama
# Default model loaded when the user hasn't picked one yet.
# Must match a model you have pulled: ollama pull llama3.1:8b
LLM_DEFAULT_MODEL=llama3.1:8b
# ─────────────────────────────────────────────────────────────────────────────
# Deployment mode
# "server" (default): LLM calls go through Next.js API routes (server → Ollama)
# → Use when Ollama runs on the same network as the Next.js server.
# "client": Browser calls Ollama directly (requires OLLAMA_ORIGINS to be set)
# → Use when the app is deployed to the cloud but users run Ollama locally.
# ─────────────────────────────────────────────────────────────────────────────
NEXT_PUBLIC_LLM_MODE=server
# ─────────────────────────────────────────────────────────────────────────────
# Site identity (used for SEO / OpenGraph)
# ─────────────────────────────────────────────────────────────────────────────
NEXT_PUBLIC_SITE_URL=http://localhost:3742
NEXT_PUBLIC_SITE_NAME=Image Tools
# ─────────────────────────────────────────────────────────────────────────────
# Auth / billing (only needed if you use the pro features)
# ─────────────────────────────────────────────────────────────────────────────
# AUTH_SECRET=
# DATABASE_URL=
# STRIPE_SECRET_KEY=
# STRIPE_WEBHOOK_SECRET=
# NEXT_PUBLIC_STRIPE_DONATION_LINK= # Stripe Payment Link (set metadata purpose=raising-boston)
# STRIPE_DONATION_PRODUCT_ID= # Optional webhook filter if using product metadata
# REPLICATE_API_TOKEN=