Files
lampac/config/init.conf
T

107 lines
2.1 KiB
Plaintext

{
"listen": {
"version": true,
"ip": "0.0.0.0",
"port": 80,
"scheme": "http",
"localhost": "127.0.0.1"
},
"BaseModule": {
"SkipModules": []
},
"Tracks": {
"enable": true
},
"AdminPanel": {
"enable": true
},
"TorrServer": {
"enable": true,
"tsport": 9085,
"releases": "latest"
},
"TelegramBot": {
"enable": true,
"bot_token": "",
"lampac_host": "http://127.0.0.1:80"
},
"LampaWeb": {
"initPlugins": {
"dlna": true,
"tracks": true,
"sync": true,
"backup": true,
"Catalog": true
},
"customPlugins": [
{
"url": "{localhost}/tg-notify.js",
"status": 1,
"name": "Tg-notify"
}
]
},
"chromium": {
"enable": true,
"executablePath": "/usr/bin/chromium"
},
"openstat": {
"enable": true
},
"online": {
"name": "Lampac NextGen",
"spiderName": "Lampac NextGen",
"version": true,
"btn_priority_forced": true
},
"sisi": {
"lgbt": false,
"spider": false,
"NextHUB": true,
"history": {
"enable": false
}
},
"TelegramAuth": {
"enable": false,
"data_dir": "database/tgauth",
"legacy_import_path": "database/legacy_tgauth",
"enable_import": true,
"enable_cleanup": true,
"mutations_api_secret": "",
"owner_telegram_ids": [
143672
],
"auto_provision_users": true,
"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
}
}
]
},
"TelegramAuthBot": {
"enable": true,
"bot_token": "",
"lampac_base_url": "http://127.0.0.1:80",
"request_timeout_sec": 10,
"service_display_name": "Lampac NextGen",
"mutations_api_secret": "",
"admin_chat_ids": [],
"owner_telegram_ids": [
143672
],
"notify_admins_on_pending_provision": true
}
}