generated from fahricansecer/boilerplate-be
This commit is contained in:
49
media-worker/appsettings.json
Normal file
49
media-worker/appsettings.json
Normal file
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.Hosting.Lifetime": "Information"
|
||||
}
|
||||
},
|
||||
"Redis": {
|
||||
"ConnectionString": "localhost:6379",
|
||||
"QueueKey": "contgen:queue:video-generation",
|
||||
"ProgressChannel": "contgen:progress",
|
||||
"CompletionChannel": "contgen:completion"
|
||||
},
|
||||
"S3": {
|
||||
"Endpoint": "https://your-account.r2.cloudflarestorage.com",
|
||||
"AccessKey": "your-r2-access-key",
|
||||
"SecretKey": "your-r2-secret-key",
|
||||
"BucketName": "contgen-media",
|
||||
"Region": "auto",
|
||||
"PublicBaseUrl": "https://media.yourdomain.com"
|
||||
},
|
||||
"ApiSettings": {
|
||||
"HiggsFieldBaseUrl": "https://api.higgsfield.ai/v1",
|
||||
"HiggsFieldApiKey": "your-higgsfield-api-key",
|
||||
"TtsBaseUrl": "https://api.elevenlabs.io/v1",
|
||||
"TtsApiKey": "your-elevenlabs-api-key",
|
||||
"TtsVoiceId": "pNInz6obpgDQGcFmaJgB",
|
||||
"SunoBaseUrl": "https://api.suno.ai/v1",
|
||||
"SunoApiKey": "your-suno-api-key",
|
||||
"CoreApiBaseUrl": "http://localhost:3000/api"
|
||||
},
|
||||
"FFmpeg": {
|
||||
"BinaryPath": "/usr/bin/ffmpeg",
|
||||
"FfprobePath": "/usr/bin/ffprobe",
|
||||
"TempDirectory": "/tmp/contgen-render",
|
||||
"MaxConcurrentRenders": 2,
|
||||
"HardwareAcceleration": "none",
|
||||
"FontPath": "/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf"
|
||||
},
|
||||
"WorkerSettings": {
|
||||
"MaxConcurrency": 2,
|
||||
"PollIntervalSeconds": 2,
|
||||
"MaxRetryAttempts": 3,
|
||||
"WorkerVersion": "1.0.0"
|
||||
},
|
||||
"ConnectionStrings": {
|
||||
"DefaultConnection": "Host=localhost;Port=5432;Database=contgen_ai_db;Username=contgen_admin;Password=contgen_secure_2026"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user