Files
2026-10-30 16:35:46 +02:00

20 lines
587 B
Bash

# DB Monitor Configuration
# Copy this file to .env and fill in your values
# PostgreSQL connection string(s)
# Single database:
DB_MONITOR_DSN=postgresql://user:password@host:5432/dbname?sslmode=disable
# Multiple databases (comma-separated):
# DB_MONITOR_DSN=postgresql://user:pass@host1:5432/db1,postgresql://user:pass@host2:5432/db2
# HTTP server port (default: 9432)
DB_MONITOR_PORT=9432
# Collection interval in seconds (default: 15)
DB_MONITOR_INTERVAL=15
# Telegram Alerting (optional)
# Create a bot via @BotFather and get your chat ID
TELEGRAM_BOT_TOKEN=
TELEGRAM_CHAT_ID=