Конфигурация приложения необходима для всех контейнеров, кроме ClientHost. Представляет собой json файл.
Учитывая наличие чувствительных данных (строк соединения) для хранения рекомендуется использовать секреты Kubernetes.
{
"Logging": {
"LogLevel": {
"Default": "Information"
}
},
"ConnectionStrings": {
"TimettaDB": "host=postgres;Port=5432;Username=dba;Password=1;Database=data",
"PassportDB": "host=postgres;Port=5432;Username=dba;Password=1;Database=passport",
"SchedulerDB": "host=postgres;Port=5432;Username=dba;Password=1;Database=scheduler",
"Redis": "redis:6379,allowAdmin=true,password=1,abortConnect=false"
},
"Tenant": {
"PrimaryDomain": "gazprom.com",
"ActiveDomains": ["myOtherCompany.ru"],
"TenantCulture": "ru-RU",
"TimeZone": "Russian Standard Time",
"DisplayName": "Sterling Cooper",
"LanguageCode": "ru-RU",
"CultureCode": "ru-RU",
"CurrencyCode": "RUB"
},
"RabbitMqServiceBusOptions": {
"ConnectionString": "amqp://admin:1@rabbitmq:5672/",
"QueueName": "events"
},
"EmailSenderOptions": {
"SenderEmail": "system@timetta.com",
"SenderName": "system@timetta.com",
"ServerPort": "465",
"ServerAddress": "smtp.my-domain.com",
"UseStartTls": true,
"UseSsl": false,
"DisableCertificateValidation": true,
"Login": "****",
"Password": "****"
},
"SessionManager": {
"RedisDbNumber": "1"
},
"TenantManager": {
"RedisDbNumber": "1"
},
"UndoRedo": {
"UndoSize": "80",
"RedoSize": "20",
"SessionLifetimeMinutes": "30",
"RedisDbNumber": "1"
},
"PassportUrl": "https://op.timetta-test.com:5401",
"AppUrl": "https://op.timetta-test.com",
"AllowedCorsOrigins": "https://op.timetta-test.com",
"TokenIssuer": "https://op.timetta-test.com:5401",
"WepAppClient": {
"RedirectUris": "https://op.timetta-test.com,
https://op.timetta-test.com/auth-callback,
https://op.timetta-test.com/assets/silent-refresh.html,
https://op.timetta-test.com:5401/login-successful",
"PostLogoutRedirectUris": "https://op.timetta-test.com/logout-successful",
"AllowedCorsOrigins": "https://op.timetta-test.com"
},
"Certificate": "/app/secrets/cert.pfx",
"CertificatePassword": "1",
"LicenseKey": "***"
}