-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
44 lines (40 loc) · 1.2 KB
/
.env.example
File metadata and controls
44 lines (40 loc) · 1.2 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
# Telegram (single-user)
TELEGRAM_BOT_TOKEN=your_telegram_bot_token
TELEGRAM_CHAT_ID=123456789
# Glances
# Recommended: run Glances on the host and point to its API.
# Host-based example: http://192.168.1.10:61208/api/4
# Docker-based example: http://glances:61208/api/4
GLANCES_BASE_URL=http://glances:61208/api/4
GLANCES_REQUEST_TIMEOUT_SECONDS=10.0
GLANCES_LOG_FULL_PAYLOAD=false
# LLM providers
OLLAMA_BASE_URL=http://host.docker.internal:11434
OLLAMA_MODEL=llama3.2:3b
# Optional cloud providers (fixed model per provider)
OPENAI_API_KEY=
OPENAI_MODEL=
ANTHROPIC_API_KEY=
ANTHROPIC_MODEL=
ANTHROPIC_MAX_TOKENS=2048
DEEPSEEK_API_KEY=
DEEPSEEK_MODEL=
# Runtime
BOT_LOG_LEVEL=INFO
BOT_LOCALE=en
TZ=Europe/Madrid
SQLITE_PATH=/app/data/serverwatch.db
DATA_PATH=/opt/docker/serverwatch-ai-bot/data
CHAT_CONTEXT_MAX_TURNS=8
CHAT_CONTEXT_MAX_CHARS=10000
CHAT_CONTEXT_RETENTION_MESSAGES=200
# Alert scheduler
# Set ALERT_CHECK_INTERVAL_SECONDS=0 to disable periodic alert polling.
ALERT_CHECK_INTERVAL_SECONDS=60
ALERT_COOLDOWN_SECONDS=300
ALERT_DEFAULT_CPU_THRESHOLD=85
ALERT_DEFAULT_RAM_THRESHOLD=85
ALERT_DEFAULT_DISK_THRESHOLD=90
ALERT_CONSECUTIVE_BREACHES=2
ALERT_RECOVERY_MARGIN_PERCENT=5
ALERT_CONTEXT_WINDOW_SAMPLES=3