-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.env
More file actions
33 lines (29 loc) · 1.12 KB
/
Copy pathexample.env
File metadata and controls
33 lines (29 loc) · 1.12 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
NTFY_TOPIC=servers
NTFY_SERVER=https://ntfy.server
NTFY_ENABLED=False
# Telegram Bot Notifications (optional)
# Get your bot token from @BotFather on Telegram
TELEGRAM_BOT_TOKEN=
# Get your chat ID from @userinfobot on Telegram. You can list multiple IDs separated by commas.
TELEGRAM_CHAT_ID=
TELEGRAM_MESSAGE_THREAD_ID=1
TELEGRAM_ENABLED=True
TELEGRAM_DISCOVERY_ENABLED=True
TELEGRAM_DISCOVERY_TIMEOUT=600
# Telegram Group Notifications (через python-telegram-bot==20.7)
# Включить групповые уведомления в один глобальный чат
TELEGRAM_GROUP_ENABLED=True
# ID группового чата (отрицательное число для групп, например -1003075012272)
TELEGRAM_GROUP_CHAT_ID=
# ID топика для форумных групп (получить из ссылки на топик, например 1 для _1)
TELEGRAM_GROUP_THREAD_ID=
DB_PATH=endpoints.db
CHECK_INTERVAL=20
NOTIFY_EVERY_MINUTES=2
INDEX_PAGE=index2.html
REQUEST_TIMEOUT=10
DOUBLE_CHECK_DELAY=5
URL=0.0.0.0
PORT=5000
API_BASE=http://${URL}:${PORT}/api/endpoints
DASHBOARD_URL=${URL}:${PORT}