-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
52 lines (38 loc) · 2.36 KB
/
Copy path.env.example
File metadata and controls
52 lines (38 loc) · 2.36 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
# ── Database ────────────────────────────────────────────────────────────────────
# Required. PostgreSQL connection string.
DATABASE_URL=postgres://health_user:password@localhost:5432/aistack?search_path=health
# ── Server ───────────────────────────────────────────────────────────────────────
# Listen address (default: :8080)
ADDR=:8080
# Public base URL — used in MCP server logs
BASE_URL=https://health.example.com
# ── Auth ─────────────────────────────────────────────────────────────────────────
# API key for POST /health (data ingestion) and /mcp endpoints
API_KEY=changeme
# Password for the web UI at /
UI_PASSWORD=changeme
# Admin email — used for Authentik SSO matching via X-authentik-email header (optional)
ADMIN_EMAIL=
# Set to "true" to trust X-authentik-username / X-authentik-email headers (Authentik ForwardAuth)
TRUST_FORWARD_AUTH=false
# ── Telegram notifications ────────────────────────────────────────────────────────
# Both required to enable Telegram reports
TELEGRAM_TOKEN=
TELEGRAM_CHAT_ID=
# Report language: en | ru | sr (default: en)
REPORT_LANG=en
# Timezone for scheduling (IANA name, e.g. Europe/Belgrade). Defaults to system local.
REPORT_TZ=Europe/Belgrade
# Hour (0–23) to send the morning report
REPORT_MORNING_WEEKDAY=8
REPORT_MORNING_WEEKEND=9
# Hour (0–23) to send the evening report
REPORT_EVENING_WEEKDAY=20
REPORT_EVENING_WEEKEND=21
# ── AI morning briefing (Gemini) ──────────────────────────────────────────────────
# Get your key at https://aistudio.google.com/apikey (free tier available)
GEMINI_API_KEY=
# Model to use (default: gemini-2.5-flash). Other options: gemini-2.0-flash
GEMINI_MODEL=gemini-2.5-flash
# Max output tokens for the AI briefing (default: 5000)
GEMINI_MAX_TOKENS=5000