-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
53 lines (40 loc) · 2.41 KB
/
.env.example
File metadata and controls
53 lines (40 loc) · 2.41 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
# Juniper Commerce — Environment Configuration
# Copy this file to .env and fill in your values
# ── App Mode ─────────────────────────────────────────────────
# demo = session-scoped in-memory data, rate-limited AI, no settings screen
# full = persistent data, full features, settings screen enabled
APP_MODE=full
# ── Data Store ───────────────────────────────────────────────
# memory = in-memory (demo mode default)
# postgres = PostgreSQL (Docker default)
# sqlite = SQLite file-based
DATA_MODE=postgres
# PostgreSQL connection (used when DATA_MODE=postgres)
DATABASE_URL=postgres://juniper:juniper@db:5432/juniper
# SQLite path (used when DATA_MODE=sqlite)
# DATABASE_URL=file:./db/juniper.db
# ── AI Provider (set ONE of these) ───────────────────────────
# The app auto-detects which provider to use based on which key is set
# Anthropic (Claude) — best tool calling as of March 2026
ANTHROPIC_API_KEY=
# OpenAI (GPT-4o / GPT-5)
# OPENAI_API_KEY=
# Google Gemini
# GOOGLE_AI_API_KEY=
# Ollama (local LLM — free, no API key needed)
# OLLAMA_URL=http://localhost:11434
# OLLAMA_MODEL=llama3.1
# ── MCP Server ───────────────────────────────────────────────
# URL of the onX MCP reference server (included in Docker Compose)
ONX_MCP_SERVER_URL=http://mcp-server:8080
# ── Seed Data ─────────────────────────────────────────────────
# Load sample data on first run (20 products, 9 orders, 6 customers)
# For Postgres+Docker: seed.sql runs automatically via docker-entrypoint-initdb.d
# For SQLite or Postgres without Docker: providers auto-seed when tables are empty
SEED_DATA=true
# ── Session Settings ─────────────────────────────────────────
SESSION_TTL_MINUTES=30
MAX_MESSAGES_PER_SESSION=20
# ── Server ───────────────────────────────────────────────────
PORT=3000
NODE_ENV=production