-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
70 lines (62 loc) · 2.96 KB
/
Copy path.env.example
File metadata and controls
70 lines (62 loc) · 2.96 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
# =============================================================================
# Office Task Tracker — single source of truth for ALL environment variables
# Copy this file to `.env` and fill in real values.
# cp .env.example .env
# Every docker-compose service pulls from this one root file.
# =============================================================================
# -----------------------------------------------------------------------------
# Compose profile selection
# PROFILES=dev -> hot-reload, exposed ports, debug (default)
# PROFILES=prod -> built images, production servers
# (see README for usage)
# -----------------------------------------------------------------------------
PROFILES=dev
# -----------------------------------------------------------------------------
# PostgreSQL
# -----------------------------------------------------------------------------
POSTGRES_USER=tracker
POSTGRES_PASSWORD=change-me
POSTGRES_DB=task_tracker
POSTGRES_PORT=5432
# DATABASE_URL is derived by the backend from the vars above at startup.
# You may override it directly if your DB lives elsewhere.
# -----------------------------------------------------------------------------
# Backend API
# -----------------------------------------------------------------------------
BACKEND_PORT=8000
# Polling interval for the mail ingestion background job (seconds).
MAIL_POLL_SECONDS=60
# IMAP settings for scraping office mail.
# Use "imaps://" with port 993 for TLS. Example host: imap.gmail.com
IMAP_HOST=
IMAP_PORT=993
IMAP_USER=
IMAP_PASSWORD=
IMAP_FOLDER=INBOX
# --- Mail ingestion mode: automatic background job vs manual refresh endpoint
# "background" -> APScheduler polls on the interval above
# "manual" -> only scrape when POST /api/tasks/ingest is called
MAIL_INGESTION_MODE=background
# -----------------------------------------------------------------------------
# LLM Agent (provider-agnostic via LiteLLM)
# Set the model and the provider's API key. LiteLLM supports many providers.
# Examples:
# LITELLM_MODEL=openai/gpt-4o-mini with OPENAI_API_KEY=...
# LITELLM_MODEL=anthropic/claude-3-5-sonnet with ANTHROPIC_API_KEY=...
# LITELLM_MODEL=ollama_chat/llama3 for a local model (no key needed)
# LITELLM_MODEL=groq/qwen/qwen3-6-27b with GROQ_API_KEY=...
# -----------------------------------------------------------------------------
LITELLM_MODEL=openai/gpt-4o-mini
OPENAI_API_KEY=
ANTHROPIC_API_KEY=
GROQ_API_KEY=
# LiteLLM logging verbosity: DEBUG, INFO, or ERROR
LITELLM_LOG=DEBUG
# -----------------------------------------------------------------------------
# Frontend (Astro)
# BACKEND_UPSTREAM is the base URL the Astro SSR server uses to reach the API.
# Docker Compose sets this per profile (backend / backend-prod service names).
# For local frontend dev without Docker, defaults to http://localhost:8000.
# -----------------------------------------------------------------------------
BACKEND_UPSTREAM=http://localhost:8000
FRONTEND_PORT=4321