Initial commit
This commit is contained in:
49
.env.example
Normal file
49
.env.example
Normal file
@@ -0,0 +1,49 @@
|
||||
# ─── URLs ─────────────────────────────────────────────────────────────────────
|
||||
# Local hostname used when accessing the app on your LAN/server directly
|
||||
LOCAL_URL=http://localhost
|
||||
# Public-facing URL when accessed via your reverse proxy (leave blank if none)
|
||||
PUBLIC_URL=
|
||||
|
||||
# ─── PostgreSQL ───────────────────────────────────────────────────────────────
|
||||
POSTGRES_USER=congress
|
||||
POSTGRES_PASSWORD=congress
|
||||
POSTGRES_DB=pocketveto
|
||||
|
||||
# These are constructed automatically from the above in docker-compose.yml.
|
||||
# Override here only if connecting to an external DB.
|
||||
# DATABASE_URL=postgresql+asyncpg://congress:congress@postgres:5432/pocketveto
|
||||
# SYNC_DATABASE_URL=postgresql://congress:congress@postgres:5432/pocketveto
|
||||
|
||||
# ─── Redis ────────────────────────────────────────────────────────────────────
|
||||
REDIS_URL=redis://redis:6379/0
|
||||
|
||||
# ─── api.data.gov (Congress.gov + GovInfo share the same key) ─────────────────
|
||||
# Free key: https://api.data.gov/signup/
|
||||
DATA_GOV_API_KEY=
|
||||
|
||||
# How often to poll Congress.gov for new/updated bills (minutes)
|
||||
CONGRESS_POLL_INTERVAL_MINUTES=30
|
||||
|
||||
# ─── LLM Provider ─────────────────────────────────────────────────────────────
|
||||
# Choose one: openai | anthropic | gemini | ollama
|
||||
LLM_PROVIDER=openai
|
||||
|
||||
OPENAI_API_KEY=
|
||||
OPENAI_MODEL=gpt-4o
|
||||
|
||||
ANTHROPIC_API_KEY=
|
||||
ANTHROPIC_MODEL=claude-opus-4-6
|
||||
|
||||
GEMINI_API_KEY=
|
||||
GEMINI_MODEL=gemini-1.5-pro
|
||||
|
||||
# For Ollama: use host.docker.internal to reach a locally running Ollama server
|
||||
OLLAMA_BASE_URL=http://host.docker.internal:11434
|
||||
OLLAMA_MODEL=llama3.1
|
||||
|
||||
# ─── News ─────────────────────────────────────────────────────────────────────
|
||||
# Free key (100 req/day): https://newsapi.org/register
|
||||
NEWSAPI_KEY=
|
||||
|
||||
# ─── Google Trends ────────────────────────────────────────────────────────────
|
||||
PYTRENDS_ENABLED=true
|
||||
Reference in New Issue
Block a user