-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
43 lines (37 loc) · 2.22 KB
/
Copy path.env.example
File metadata and controls
43 lines (37 loc) · 2.22 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
# Copy this file to `.env.local` and put private local-agent secrets there.
# `.env.local` is ignored by git. Do not commit real API keys.
# DeepSeek chatbot for Admin/User. Backend local agent only.
DEEPSEEK_API_KEY=sk-your-deepseek-key
DEEPSEEK_BASE_URL=https://api.deepseek.com
# Backend locks DeepSeek to deepseek-v4-flash. Keep this value for compatibility.
DEEPSEEK_MODEL=deepseek-v4-flash
DEEPSEEK_TIMEOUT_SECONDS=75
# Optional production auth/database settings.
# TRASH_SORTER_AUTH_DATABASE_URL=postgresql://trash_user:strong-password@localhost:5432/trash_sorter
# DATABASE_URL=postgresql://trash_user:strong-password@localhost:5432/trash_sorter
# Local/dev-only default accounts (`admin/admin123`, `user/user123`).
# Do not enable this in real public production.
# TRASH_SORTER_AUTH_DEV_DEFAULTS=0
# Optional one-time bootstrap admin. Store real values only in private env.
# TRASH_SORTER_BOOTSTRAP_ADMIN_USERNAME=owner
# TRASH_SORTER_BOOTSTRAP_ADMIN_PASSWORD=generate-a-strong-private-password
# TRASH_SORTER_ALLOWED_ORIGINS=http://localhost:3000
# TRASH_SORTER_HARDWARE_BRIDGE_URL=https://your-tunnel.example.com
# TRASH_SORTER_HARDWARE_BRIDGE_SECRET=generate-a-long-random-secret
# Bounded request and database concurrency. Browser values are embedded by Next at build time.
TRASH_SORTER_CLIENT_REQUEST_CONCURRENCY=2
TRASH_SORTER_HARDWARE_REQUEST_CONCURRENCY=1
TRASH_SORTER_DB_QUEUE_CONCURRENCY=1
TRASH_SORTER_DB_LOCK_TIMEOUT_MS=2000
TRASH_SORTER_DB_STATEMENT_TIMEOUT_MS=15000
# Optional Supabase full-cloud bridge. Server/local hardware process only.
# Never expose this value to the browser or Vercel NEXT_PUBLIC_* variables.
# TRASH_SORTER_SUPABASE_DATABASE_URL=postgresql://postgres.project-ref:strong-password@aws-0-region.pooler.supabase.com:6543/postgres
# Optional Supabase API keepalive. Server-side only.
# SUPABASE_URL=https://project-ref.supabase.co
# SUPABASE_SERVICE_ROLE_KEY=server-side-service-role-key-only
# Vercel Cron sends this value as `Authorization: Bearer <CRON_SECRET>`.
# Generate a long random value and configure it only in Vercel Production.
# CRON_SECRET=generate-a-long-random-secret
# Optional local training source cache. This is not required for runtime recognition.
# TRASH_SORTER_KAGGLE_CACHE=D:\path\to\kagglehub-cache