-
-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy path.env.example
More file actions
86 lines (73 loc) · 3.15 KB
/
.env.example
File metadata and controls
86 lines (73 loc) · 3.15 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
# =============================================================================
# ZERO HEALTH - SIMPLIFIED ENVIRONMENT CONFIGURATION
# =============================================================================
# Single set of variables for all LLM providers
# =============================================================================
# LLM PROVIDER CONFIGURATION
# =============================================================================
# Choose your AI provider: ollama, openai, groq, z_ai, deepseek, custom
LLM_PROVIDER=anthropic
# =============================================================================
# UNIFORM LLM CONFIGURATION (works for all providers)
# =============================================================================
LLM_API_KEY=your-api-key-here
LLM_MODEL=gpt-4o-mini
# LLM_BASE_URL is preconfigured based on provider (only needed for custom)
# =============================================================================
# PROVIDER-SPECIFIC PRECONFIGURATIONS
# =============================================================================
# Base URLs are automatically set based on LLM_PROVIDER:
# - openai: https://api.openai.com/v1
# - groq: https://api.groq.com/openai/v1
# - z_ai: https://api.z.ai/v1
# - deepseek: https://api.deepseek.com/v1
# - custom: must set LLM_BASE_URL manually
# - ollama: http://ollama:11434 (internal)
# Ollama-specific (when LLM_PROVIDER=ollama)
OLLAMA_PORT=11435
# =============================================================================
# DATABASE CONFIGURATION (Auto-configured in Docker)
# =============================================================================
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=zero_health
POSTGRES_HOST=db
POSTGRES_PORT=5432
# =============================================================================
# APPLICATION CONFIGURATION
# =============================================================================
PORT=5000
NODE_ENV=development
JWT_SECRET=your-secret-key-here
# =============================================================================
# FRONTEND URL CONFIGURATION (for password reset links)
# =============================================================================
FRONTEND_URL=http://localhost:3000
# =============================================================================
# FRONTEND API URL (for Docker builds - must be set at build time)
# =============================================================================
VITE_API_URL=http://localhost:5000
# =============================================================================
# USAGE EXAMPLES
# =============================================================================
# OpenAI:
# LLM_PROVIDER=openai
# LLM_API_KEY=sk-your-openai-key-here
# LLM_MODEL=gpt-4o-mini
# Groq:
# LLM_PROVIDER=groq
# LLM_API_KEY=gsk_your-groq-key-here
# LLM_MODEL=llama3-8b-8192
# Z.AI:
# LLM_PROVIDER=z_ai
# LLM_API_KEY=your-zai-key-here
# LLM_MODEL=zai-medical-7b
# DeepSeek:
# LLM_PROVIDER=deepseek
# LLM_API_KEY=sk-your-deepseek-key-here
# LLM_MODEL=deepseek-coder
# Custom API:
# LLM_PROVIDER=custom
# LLM_API_KEY=your-custom-key
# LLM_MODEL=your-model
# LLM_BASE_URL=http://localhost:1234/v1