mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-12-04 00:42:53 +01:00
f8313f38b9
- feat(nexus): Update aiogrpcclient - feat(bot): Added option to disable IDM - feat(nexus): Detach postgres from Hub 2 internal commit(s) GitOrigin-RevId: bf55fbc64136be36fab362c5f48b7c2b78f0d08e
55 lines
1.3 KiB
YAML
55 lines
1.3 KiB
YAML
---
|
|
|
|
application:
|
|
debug: true
|
|
# Enable special Postgres `sharience` table to retrieve user-sent files
|
|
is_sharience_enabled: false
|
|
# URL to the picture shown while maintenance
|
|
maintenance_picture_url:
|
|
# Used in logging
|
|
service_name: nexus-hub
|
|
# Store file hashes into operation log
|
|
should_store_hashes: true
|
|
database:
|
|
database: nexus
|
|
enabled: false
|
|
host:
|
|
password:
|
|
username:
|
|
grobid:
|
|
enabled: false
|
|
url:
|
|
grpc:
|
|
# Listen address
|
|
address: 0.0.0.0
|
|
# Listen port
|
|
port: 9090
|
|
ipfs:
|
|
address: localhost
|
|
port: 4001
|
|
log_path: '/var/log/nexus-hub'
|
|
meta_api:
|
|
url:
|
|
pylon:
|
|
# Proxy used in `pylon` retriever to download files
|
|
proxy: socks5://127.0.0.1:9050
|
|
# Proxy used in `pylon` retriever to get metadata
|
|
resolve_proxy: socks5://127.0.0.1:9050
|
|
telegram:
|
|
# Telegram App Hash from https://my.telegram.org/
|
|
app_hash:
|
|
# Telegram App ID from https://my.telegram.org/
|
|
app_id: 00000
|
|
# External bot name shown in messages to users
|
|
bot_external_name: libgen_scihub_bot
|
|
# Internal bot name used in logging
|
|
bot_name: nexus-hub
|
|
bot_token:
|
|
# Telethon database for keeping cache
|
|
database:
|
|
session_id: /tmp/nexus-hub.db
|
|
# Frequency of updating downloading progress
|
|
progress_throttle_seconds: 5
|
|
# Send files using stored telegram_file_id
|
|
should_use_telegram_file_id: true
|