-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
44 lines (36 loc) · 1.63 KB
/
Copy path.env.example
File metadata and controls
44 lines (36 loc) · 1.63 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
# Leave as false. Only toggle to true if you want to create a dedicated Supabase
# user with specific permissions and limits (recommended if making this public).
# See docs/setup/ and docs/testing.md for instructions.
IS_PROD="false"
IS_TEST="false"
LOG_LEVEL="INFO"
# Database URL.
# - Docker (docker compose up): leave this blank — compose sets it automatically.
# - Supabase: paste your connection string from the project settings (see docs/setup.md).
DATABASE_URL=""
# Reddit Ingestion
# Requires Reddit OAuth tokens. See docs/reddit.md to learn how to get them.
# Leave the values as-is until you have an API set up.
REDDIT_CLIENT_ID="your_client_id"
REDDIT_CLIENT_SECRET="your_client_secret"
REDDIT_USER_AGENT="VoucherBot/0.1.0"
REDDIT_INGESTION_ENABLED="false"
# Email Automation
# See docs/setup.md for how to get your Resend API key and configure your email.
RESEND_API_KEY="your_resend_api_key"
EMAIL_ID="your_email_id"
EMAIL_MIN_INTERVAL_SECONDS="5.0" # Rate limiting between emails
# AI Module
# See docs/setup.md for how to get your Gemini and Groq API keys.
GEMINI_API_KEY="your_gemini_api_key"
GROQ_API_KEY="your_groq_api_key"
# These defaults are suitable for most setups. You only need to change them if
# you understand the implications and want to customize the behavior.
GROQ_REQUESTS_PER_MINUTE="30"
GROQ_MAX_COMPLETION_TOKENS="1024"
GROQ_MAX_INPUT_CHARS="12000"
# Scheduler
# Uses lease-based locking to prevent multiple workers from processing the same
# source at the same time. The default configuration works well for typical
# deployments, but you can adjust it if your scheduling requirements differ.
TICK_LEASE_TTL_SECONDS="21600"