-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path.env.example
More file actions
81 lines (70 loc) · 2.73 KB
/
.env.example
File metadata and controls
81 lines (70 loc) · 2.73 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
# Core self-host runtime
NEXT_PUBLIC_APP_URL=http://localhost:3000
BETTER_AUTH_URL=http://localhost:3000
NEXT_PUBLIC_BETTER_AUTH_URL=http://localhost:3000
BETTER_AUTH_SECRET=your-better-auth-secret
# Database
# For Docker PostgreSQL (recommended):
# DATABASE_URL=postgresql://thinkex:thinkex_password_change_me@localhost:5432/thinkex
# For local PostgreSQL:
# DATABASE_URL=postgresql://user:password@localhost:5432/thinkex
DATABASE_URL=postgresql://thinkex:thinkex_password_change_me@localhost:5432/thinkex
# PostgreSQL Docker defaults used by docker-compose.yml and setup.sh
POSTGRES_USER=thinkex
POSTGRES_PASSWORD=thinkex_password_change_me
POSTGRES_DB=thinkex
POSTGRES_PORT=5432
# Zero cache (required for workspace sync in local development)
NEXT_PUBLIC_ZERO_SERVER=http://localhost:4848
ZERO_UPSTREAM_DB=postgresql://thinkex:thinkex_password_change_me@localhost:5432/thinkex
ZERO_QUERY_URL=http://localhost:3000/api/zero/query
ZERO_MUTATE_URL=http://localhost:3000/api/zero/mutate
ZERO_MUTATE_FORWARD_COOKIES=true
ZERO_QUERY_FORWARD_COOKIES=true
ZERO_APP_PUBLICATIONS=zero_pub
ZERO_ADMIN_PASSWORD=change-me-before-sharing
ZERO_APP_ID=zero_local_dev
ZERO_COOKIE_DOMAIN=localhost
# Storage
# Core self-host mode uses local files. This supports uploads/viewing inside
# ThinkEx, but media processing features that call third-party providers still
# require provider-reachable object storage.
STORAGE_TYPE=local
UPLOADS_DIR=./uploads
# Optional provider-reachable storage (required for OCR/audio/doc conversion)
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJ...
SUPABASE_SERVICE_ROLE_KEY=eyJ...
# AI backend
# Chat and autogen use the AI backend configured for your deployment. In local
# setups that use Google directly, set GOOGLE_GENERATIVE_AI_API_KEY.
GOOGLE_GENERATIVE_AI_API_KEY=AIza...
# Optional OAuth and export integrations
GOOGLE_CLIENT_ID=...
GOOGLE_CLIENT_SECRET=...
NEXT_PUBLIC_GOOGLE_CLIENT_ID=...
# Optional media and retrieval integrations
MISTRAL_API_KEY=your-mistral-api-key
MISTRAL_OCR_ENDPOINT=https://api.mistral.ai/v1/ocr
MISTRAL_OCR_MODEL=mistral-ocr-latest
ASSEMBLYAI_API_KEY=your-assemblyai-api-key
FASTAPI_BASE_URL=https://your-fastapi-service.com
FASTAPI_API_KEY=your-service-api-key
FIRECRAWL_API_KEY=fc_...
YOUTUBE_API_KEY=...
# Optional chat integrations
E2B_API_KEY=e2b_...
SUPERMEMORY_API_KEY=sm_...
SUPERMEMORY_ENABLED=true
# Optional observability and email
NEXT_PUBLIC_POSTHOG_HOST=https://us.i.posthog.com
NEXT_PUBLIC_POSTHOG_TOKEN=phc_...
POSTHOG_HOST=https://us.i.posthog.com
POSTHOG_PROJECT_TOKEN=phc_...
POSTHOG_PERSONAL_API_KEY=phx_...
POSTHOG_PROJECT_ID=...
POSTHOG_RELEASE_NAME=thinkex
POSTHOG_RELEASE_VERSION=
RESEND_API_KEY=re_...
# Optional platform-specific settings
CHROME_EXTENSION_ID=