Add docker image build scripts

This commit is contained in:
2025-08-14 14:09:25 +03:00
parent aae83db2ea
commit df069a9aa1
8 changed files with 181 additions and 20 deletions

View File

@@ -10,6 +10,7 @@ import (
type Config struct {
Server ServerConfig `toml:"server"`
Database DatabaseConfig `toml:"database"`
Storage StorageConfig `toml:"storage"`
Yandex YandexConfig `toml:"yandex"`
Telegram TelegramConfig `toml:"telegram"`
}
@@ -25,6 +26,10 @@ type DatabaseConfig struct {
Path string `toml:"path"`
}
type StorageConfig struct {
Path string `toml:"path"`
}
type YandexConfig struct {
FolderID string `toml:"folder_id"`
SpeechKitAPIKey string `toml:"speech_kit_api_key"`
@@ -51,6 +56,9 @@ func DefaultConfig() *Config {
Database: DatabaseConfig{
Path: "data/transcriber.db",
},
Storage: StorageConfig{
Path: "data/files",
},
Yandex: YandexConfig{
FolderID: "",
SpeechKitAPIKey: "",