SocialPub/PrivaPub/appsettings.Development.json

98 lines
2.1 KiB
JSON

{
"MongoSettings": {
"Database": "PrivaPub",
"LogsDatabase": "logs",
"ConnectionString": "mongodb://localhost:27017"
},
"AppConfiguration": {
"RequiresFirstTimeSetup": null,
"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"
],
"BackendBaseAddress": "https://localhost:7195",
"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": 24
}
},
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "https://0.0.0.0:7195",
"Protocols": "Http2"
}
}
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"Serilog": {
"MinimumLevel": {
"Default": "Debug",
"Override": {
"Microsoft.AspNetCore": "Warning"
}
},
"WriteTo": [
{
"Name": "MongoDB",
"Args": {
"databaseUrl": "mongodb://localhost:27017/logs",
"collectionName": "collanonquick",
"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}"
}
}
]
}
}