-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
89 lines (73 loc) · 3.07 KB
/
.env.example
File metadata and controls
89 lines (73 loc) · 3.07 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# ============================================================
# healthOS — Environment Variables
# ============================================================
# Copy this file to .env.local and fill in the values.
# cp .env.example .env.local
#
# Variables marked [REQUIRED] must be set for the app to start.
# Variables marked [OPTIONAL] have defaults or enable extra features.
# ============================================================
# ----------------------------------------------------------
# Database [REQUIRED]
# ----------------------------------------------------------
# PostgreSQL connection string. On Railway this is auto-provisioned.
# Locally: postgresql://user@localhost/healthos
POSTGRES_URL=
# ----------------------------------------------------------
# Authentication [REQUIRED]
# ----------------------------------------------------------
# Secret used to sign NextAuth JWTs. Generate one:
# openssl rand -base64 32
AUTH_SECRET=
# Set to "true" for non-Vercel deployments (Railway, Docker, self-hosted).
# NextAuth needs this to trust the X-Forwarded-Host header behind a proxy.
# [OPTIONAL — only needed outside Vercel]
AUTH_TRUST_HOST=true
# Full public URL of the deployment. Required on Railway / Docker.
# Locally: http://localhost:3000
# [OPTIONAL — only needed outside Vercel]
NEXTAUTH_URL=http://localhost:3000
# ----------------------------------------------------------
# AI Providers
# ----------------------------------------------------------
# At least one AI provider key is needed for chat to work.
# Anthropic (Claude) — primary provider [REQUIRED]
ANTHROPIC_API_KEY=
# OpenAI (GPT) [OPTIONAL]
OPENAI_API_KEY=
# Google (Gemini) [OPTIONAL]
GOOGLE_GENERATIVE_AI_API_KEY=
# xAI (Grok) [OPTIONAL]
XAI_API_KEY=
# Vercel AI Gateway — unified key for all providers [OPTIONAL]
# https://vercel.com/ai-gateway
# On Vercel deployments, OIDC tokens are used automatically instead.
AI_GATEWAY_API_KEY=
# ----------------------------------------------------------
# Local LLM — Ollama [OPTIONAL]
# ----------------------------------------------------------
# Base URL for a local Ollama instance (OpenAI-compatible API).
# Default: http://localhost:11434/v1
OLLAMA_BASE_URL=http://localhost:11434/v1
# ----------------------------------------------------------
# Storage [OPTIONAL]
# ----------------------------------------------------------
# Vercel Blob Store token for file uploads.
# https://vercel.com/docs/vercel-blob
BLOB_READ_WRITE_TOKEN=
# Redis URL for resumable streams and caching.
# Not required for basic operation.
REDIS_URL=
# ----------------------------------------------------------
# Observability [OPTIONAL]
# ----------------------------------------------------------
# Sentry DSN for error tracking. Get it from https://sentry.io
# When set, errors are captured and reported to Sentry.
NEXT_PUBLIC_SENTRY_DSN=
# Sentry environment tag (defaults to NODE_ENV).
# Useful to distinguish Railway staging vs production.
SENTRY_ENVIRONMENT=
# Source map upload (CI builds only). Not needed for error tracking.
# SENTRY_AUTH_TOKEN=
# SENTRY_ORG=
# SENTRY_PROJECT=