-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
29 lines (24 loc) · 1.83 KB
/
env.example
File metadata and controls
29 lines (24 loc) · 1.83 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
# rename this file to .env
# ── Logging ───────────────────────────────────────────────────────────────────
WRITE_LOG_TO_DISK = false
LOGGING_LEVEL = INFO
DIR_LOGS = /var/log
# ── Telegram ──────────────────────────────────────────────────────────────────
TELEGRAM_ENABLED = true
TELEGRAM_BOT_KEY = YOUR_BOT_KEY_HERE
TELEGRAM_BOT_CHAT_ID = YOUR_CHAT_ID_HERE
# ── Google Maps (for IP geolocation map images) ───────────────────────────────
MAPS_API_KEY = YOUR_GOOGLE_MAPS_API_KEY_HERE
# ── Feature flags — enable only what your deployment needs ───────────────────
ENABLE_NGINX_MONITOR = false # enable if running nginx in k3s/container
ENABLE_UNIFI_MONITOR = false # enable if running UniFi controller
ENABLE_HA_MONITOR = true # enable if running Home Assistant
ENABLE_FAIL2BAN_MONITOR = true # enable if running fail2ban
# ── Log file paths ────────────────────────────────────────────────────────────
LOG_PATH_USER = /var/log/user.log
LOG_PATH_AUTH = /var/log/auth.log
LOG_PATH_FAIL2BAN = /var/log/fail2ban.log
LOG_PATH_HA = /path/to/home-assistant/home-assistant.log
LOG_PATH_UNIFI = /path/to/unifi/logs/server.log
# ── Nginx container log glob (k3s pod hash changes on restart) ────────────────
NGINX_LOG_GLOB = /var/log/containers/nginx-*_default_nginx-*.log