Конфигурация приложения необходима для всех контейнеров, кроме ClientHost. Представляет собой json файл.
Учитывая наличие чувствительных данных (строк соединения) для хранения рекомендуется использовать секреты.
{
"Logging": {
"LogLevel": {
"Default": "Debug"
}
},
"Tenant": {
"PrimaryDomain": "domain.com",
"ActiveDomains": ["myOtherCompany.ru"],
"TenantCulture": "ru-RU",
"TimeZone": "Russian Standard Time",
"DisplayName": "Sterling Cooper",
"LanguageCode": "ru-RU",
"CultureCode": "ru-RU",
"CurrencyCode": "RUB"
},
"ConnectionStrings": {
"TimettaDB": "****",
"PassportDB": "****",
"SchedulerDB": "***"
},
"Redis": {
"Host": "****",
"Port": "6379",
"Password": "****"
},
"KafkaServiceBusOptions": {
"Host": "***",
"QueueName": "***",
"CertificatePath": ***",
"Protocol": "SASL_SSL",
"SaslMechanism": "SCRAM-SHA-512",
"SaslUserName": "***",
"SaslPassword": "***"
},
// SMTP Server settings.
"EmailSenderOptions": {
"SenderEmail": "****",
"SenderName": "****",
"ServerPort": "***",
"ServerAddress": "****",
"UseStartTls": true,
"UseSsl": false,
"DisableCertificateValidation": true,
"Login": "****",
"Password": "****"
},
"SessionManager": {
// Allows to specify the number of the database used in Redis.
"RedisDbNumber": "2"
},
"UndoRedo": {
"UndoSize": "80",
"RedoSize": "20",
"SessionLifetimeMinutes": "30",
// Allows to specify the number of the database used in Redis.
"RedisDbNumber": "3"
},
"PassportUrl": "https:
"AppUrl": "https://app.timetta.com",
"AllowedCorsOrigins": "https://app.timetta.com",
"JwtIssuers": ["https://auth.timetta.com"],
"WepAppClient": {
"RedirectUris": "[appUrl],[appUrl]/auth-callback,[appUrl]/assets/silent-refresh.html,[passportUrl]/login-successful",
"PostLogoutRedirectUris": "[passportUrl]/logout-successful",
"AllowedCorsOrigins": "[appUrl],https://timetta.com"
},
"Certificate": "/app/secrets/passport.crt",
"CertificatePassword": "****",
"LicenseKey": "****"
}