-
Notifications
You must be signed in to change notification settings - Fork 251
Expand file tree
/
Copy path.env.example
More file actions
46 lines (41 loc) · 2.37 KB
/
.env.example
File metadata and controls
46 lines (41 loc) · 2.37 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
# ==============================================================================
# GLOBAL THREAT MAP - Environment Variables
# ==============================================================================
# Copy this file to .env.local and fill in your actual values
# DO NOT commit .env.local to version control
# ==============================================================================
# ------------------------------------------------------------------------------
# MAPBOX (REQUIRED)
# ------------------------------------------------------------------------------
# Get your token at: https://account.mapbox.com/access-tokens/
NEXT_PUBLIC_MAPBOX_TOKEN=your_mapbox_token_here
# ------------------------------------------------------------------------------
# VALYU API KEY (REQUIRED)
# ------------------------------------------------------------------------------
# Get your API key at: https://platform.valyu.ai
VALYU_API_KEY=valyu_your_api_key_here
# ------------------------------------------------------------------------------
# OPENAI API KEY (OPTIONAL)
# ------------------------------------------------------------------------------
# Enables AI-powered location extraction for more accurate event geocoding
# If not set, the app falls back to regex-based extraction
# Get your API key at: https://platform.openai.com/api-keys
# OPENAI_API_KEY=sk-your_openai_key_here
# OPENAI_MODEL=gpt-4.1-nano # Optional: override the default model
# ------------------------------------------------------------------------------
# APP MODE (OPTIONAL)
# ------------------------------------------------------------------------------
# Default is 'self-hosted' - just set VALYU_API_KEY above and you're ready!
# 'valyu' mode uses OAuth (contact [email protected] for early access)
NEXT_PUBLIC_APP_MODE=self-hosted
# ------------------------------------------------------------------------------
# VALYU OAUTH (VALYU MODE ONLY - OPTIONAL)
# ------------------------------------------------------------------------------
# NOTE: Valyu OAuth apps will be in general availability soon.
# Contact [email protected] for OAuth credentials if you need early access.
#
# NEXT_PUBLIC_VALYU_AUTH_URL=https://auth.valyu.ai
# NEXT_PUBLIC_VALYU_CLIENT_ID=your-oauth-client-id
# VALYU_CLIENT_SECRET=your-oauth-client-secret
# VALYU_APP_URL=https://platform.valyu.ai
# NEXT_PUBLIC_REDIRECT_URI=http://localhost:3000/auth/valyu/callback