-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
57 lines (49 loc) · 2.6 KB
/
.env.example
File metadata and controls
57 lines (49 loc) · 2.6 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
# ──────────────────────────────────────────────────────
# Scoop — Environment Variables
#
# Copy this file to .env and fill in your real values.
# cp .env.example .env
#
# NEVER commit .env to version control.
# ──────────────────────────────────────────────────────
# Perplexity API (direct, used as fallback if AI Core is not configured)
PPLX_KEY=pplx-your-key-here
# Gmail SMTP (email delivery)
# 1. Enable 2-Step Verification on your Google account
# 2. Create an App Password: myaccount.google.com > Security > App passwords
GMAIL_ADDRESS=yourscoop@gmail.com
GMAIL_APP_PASSWORD=xxxx-xxxx-xxxx-xxxx
GMAIL_DISPLAY_NAME=Scoop 🐶🗞️
# Supabase (database)
# ⚠️ SUPABASE_KEY must be the ANON (public) key, NOT the service_role key.
# The anon key is safe to use client-side and is rate-limited by RLS policies.
# The service_role key bypasses RLS — NEVER put it here or in client code.
# Find your keys at: https://supabase.com/dashboard/project/_/settings/api
SUPABASE_URL=https://your-project.supabase.co
SUPABASE_KEY=your-anon-key-here
# Cron auth
# Generate a strong random secret, e.g.: python3 -c "import secrets; print(secrets.token_urlsafe(32))"
# ⚠️ Must be non-empty; the digest endpoint rejects empty strings.
CRON_SECRET=CHANGE_ME_run_python3_-c_"import secrets; print(secrets.token_urlsafe(32))"
# Stripe (payments, not yet active)
# STRIPE_SECRET_KEY=sk_test_your-key-here
# STRIPE_PRICE_ID=price_your-id-here
# STRIPE_WEBHOOK_SECRET=whsec_your-secret-here
# SAP AI Core (preferred provider for Perplexity + dedup LLM)
# If set, these override PPLX_KEY and LITELLM_* for all model calls.
# Get credentials from your SAP BTP AI Core service binding.
# SAP_AICORE_AUTH_URL=https://your-tenant.authentication.eu10.hana.ondemand.com/oauth/token
# SAP_AICORE_CLIENT_ID=your-client-id
# SAP_AICORE_CLIENT_SECRET=your-client-secret
# SAP_AICORE_BASE_URL=https://api.ai.prod.eu-central-1.aws.ml.hana.ondemand.com
# SAP_AICORE_RESOURCE_GROUP=default
# AICORE_DEPLOYMENT_PPLX=your-sonar-pro-deployment-id
# AICORE_DEPLOYMENT_GPT4O_MINI=your-gpt4o-mini-deployment-id
# LiteLLM proxy (fallback dedup provider if AI Core is not configured)
# LITELLM_URL=https://your-litellm-proxy.example.com
# LITELLM_KEY=sk-your-key-here
# LITELLM_MODEL=azure-gpt-4o-mini
# App
APP_URL=https://noptus.github.io/scoop
API_URL=http://localhost:8000
ALLOWED_ORIGINS=https://noptus.github.io,http://localhost:8080