2023-02-18 08:52:17 +01:00
|
|
|
{
|
|
|
|
"MongoSettings": {
|
2023-02-19 00:43:43 +01:00
|
|
|
"Database": "PrivaPub",
|
2023-02-18 08:52:17 +01:00
|
|
|
"LogsDatabase": "logs",
|
|
|
|
"ConnectionString": "mongodb://localhost:27017"
|
|
|
|
},
|
|
|
|
"AppConfiguration": {
|
|
|
|
"Version": "0.0.0",
|
|
|
|
"MaxAllowedUploadFiles": 3,
|
|
|
|
"MaxAllowedFileSize": 2097152,
|
|
|
|
"ValidDiscussionFilesTypes": ".odt,.docx,.pdf,.xlsx,.ods,.odp,.pptx,.png,.jpg,.jpeg",
|
|
|
|
"SupportedLanguages": [
|
|
|
|
"en", "it", "de", "fr", "es", "ja", "ru", "zh", "bg", "cs", "da", "nl", "et", "fi", "el", "hu", "lv", "lt", "pl", "pt", "ro", "sk", "sl", "sv"
|
|
|
|
],
|
|
|
|
"EmailConfiguration": {
|
|
|
|
"SmtpServer": "mail.privateemail.com",
|
|
|
|
"SmtpPort": 465,
|
|
|
|
"UseSSL": true,
|
|
|
|
"SmtpUsername": "support@collanon.app",
|
|
|
|
"SmtpPassword": "c4kXUJFQeKC2dVQbZqxZ"
|
|
|
|
},
|
|
|
|
"HashingOptions": {
|
|
|
|
"Iterations": 10101
|
|
|
|
},
|
|
|
|
"Jwt": {
|
|
|
|
"Key": "ITNN8mPfS2ivOqr1eRWK0Rac3sRAchQdG8BUy0pK4vQ3",
|
|
|
|
"Issuer": "https://localhost",
|
|
|
|
"Audience": "https://localhost",
|
|
|
|
"HoursTimeout": 365
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"Logging": {
|
|
|
|
"LogLevel": {
|
|
|
|
"Default": "Information",
|
|
|
|
"Microsoft.AspNetCore": "Warning"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"Serilog": {
|
|
|
|
"MinimumLevel": {
|
|
|
|
"Default": "Information",
|
|
|
|
"Override": {
|
|
|
|
"Microsoft.AspNetCore": "Warning"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"WriteTo": [
|
|
|
|
{
|
|
|
|
"Name": "MongoDB",
|
|
|
|
"Args": {
|
|
|
|
"databaseUrl": "mongodb://localhost:27017/logs",
|
2023-02-19 00:43:43 +01:00
|
|
|
"collectionName": "PrivaPub",
|
2023-02-18 08:52:17 +01:00
|
|
|
"cappedMaxSizeMb": "1024",
|
|
|
|
"cappedMaxDocuments": "10000"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Name": "Console",
|
|
|
|
"Args": {
|
|
|
|
"theme": "Serilog.Sinks.SystemConsole.Themes.AnsiConsoleTheme::Code, Serilog.Sinks.Console",
|
|
|
|
"outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj} <s:{SourceContext}>{NewLine}{Exception}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"AllowedHosts": "*"
|
|
|
|
}
|