raazkumar commited on
Commit
3f39a2b
·
verified ·
1 Parent(s): 3f85952

Upload production/.env.minimal

Browse files
Files changed (1) hide show
  1. production/.env.minimal +25 -0
production/.env.minimal ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # =====================================
2
+ # MINIMAL CONFIG — Only 4 lines required
3
+ # =====================================
4
+
5
+ # REQUIRED: Cloudflare Workers AI (fallback)
6
+ CLOUDFLARE_API_KEY=sk-your-cloudflare-api-key
7
+ CLOUDFLARE_ACCOUNT_ID=your-account-id-here
8
+
9
+ # OPTIONAL but recommended: NVIDIA NIM (primary — faster)
10
+ NVIDIA_API_KEY=nvapi-your-nvidia-api-key
11
+
12
+ # =====================================
13
+ # That's it. Everything else auto-configures:
14
+ # • Primary: NIM (if API key set)
15
+ # • Fallback: Cloudflare Workers AI
16
+ # • Cache: Redis (auto-launched)
17
+ # • DB: Postgres (auto-launched)
18
+ # • Metrics: Prometheus + Grafana
19
+ # • MLX: Off by default (enable below for local M2)
20
+ # =====================================
21
+
22
+ # ─── Optional: Enable MLX local on M2 Pro Max ───
23
+ # Uncomment to run 70B models locally via Metal GPU:
24
+ # MLX_ENABLED=true
25
+ # MLX_API_BASE=http://host.docker.internal:8000/v1