42 lines
1.3 KiB
TOML
42 lines
1.3 KiB
TOML
# Server configuration
|
||
[server]
|
||
port = 8080
|
||
shutdown_timeout = 5
|
||
force_shutdown_timeout = 20
|
||
|
||
# Database configuration
|
||
[database]
|
||
path = "data/transcriber.db"
|
||
|
||
# Yandex Cloud Configuration
|
||
[yandex]
|
||
# ID папки в Yandex Cloud (получить в консоли Yandex Cloud)
|
||
folder_id = "your_folder_id_here"
|
||
|
||
# API ключ для доступа к Yandex SpeechKit (получить в консоли Yandex Cloud)
|
||
speech_kit_api_key = "your_speech_kit_api_key_here"
|
||
|
||
# Object Storage (S3) configuration
|
||
# Access Key ID для доступа к Object Storage (получить в консоли Yandex Cloud)
|
||
object_storage_access_key_id = "your_access_key_id"
|
||
|
||
# Secret Access Key для доступа к Object Storage (получить в консоли Yandex Cloud)
|
||
object_storage_secret_access_key = "your_secret_access_key"
|
||
|
||
# Имя бакета в Object Storage
|
||
object_storage_bucket_name = "your_bucket_name"
|
||
|
||
# Регион Object Storage
|
||
object_storage_region = "ru-central1"
|
||
|
||
# Endpoint Object Storage
|
||
object_storage_endpoint = "https://storage.yandexcloud.net/"
|
||
|
||
# Telegram Bot Configuration
|
||
[telegram]
|
||
# Токен Telegram бота (получить у @BotFather в Telegram)
|
||
bot_token = "your_telegram_bot_token_here"
|
||
|
||
# Таймаут обновлений Telegram бота (в секундах)
|
||
update_timeout = 10
|