TelegramAuth + TelegramAuthBot + WatchTogether; README/AGENT
- mods/TelegramAuth, mods/TelegramAuthBot, mods/WatchTogether: копии из образа с enable: true (правило 1), секции в config/init.conf - TelegramAuth в API-режиме (enable: false -> accsdb/гейт не поднимается), TelegramAuthBot: бот @GatusMonBot, long polling - WatchTogether: customPlugins watchtogether.js, relay /wt/c/ - README: секция про SQLite/volume (первый запуск), таблица модулей, состояние Tg-notify и TelegramAuth, раздел WatchTogether - AGENT: правило 10 дополнено секретами init.conf, §12 переписан, добавлен §13 WatchTogether, список mods/ в §1 - в git bot_token и mutations_api_secret оставлены пустыми (правило 10), реальные значения только в рабочем файле на сервере
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"TelegramAuth": {
|
||||
"enable": true,
|
||||
"data_dir": "database/tgauth",
|
||||
"legacy_import_path": "database/legacy_tgauth",
|
||||
"enable_import": true,
|
||||
"enable_cleanup": true,
|
||||
"mutations_api_secret": "GENERATE_A_LONG_RANDOM_SECRET",
|
||||
"owner_telegram_ids": [123456789],
|
||||
"auto_provision_users": false,
|
||||
"auto_provision_role": "user",
|
||||
"auto_provision_lang": "ru",
|
||||
"auto_provision_expires_days": 0,
|
||||
"auto_provision_activate_immediately": false,
|
||||
"accsdb_sync_group_admin": 100,
|
||||
"accsdb_sync_group_user": 0,
|
||||
"max_active_devices_per_user": 5,
|
||||
"limit_map": [
|
||||
{
|
||||
"pattern": "^/tg/auth",
|
||||
"map": {
|
||||
"limit": 25,
|
||||
"second": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user