erp-platform/api/src/Kurs.Platform.HttpApi.Host/appsettings.json

58 lines
2.1 KiB
JSON
Raw Normal View History

2025-05-06 06:45:49 +00:00
{
"App": {
"SelfUrl": "https://localhost:44344",
"ClientUrl": "http://localhost:3000",
"CorsOrigins": "http://localhost,http://localhost:3000,http://localhost:4200,http://localhost:5173",
"RedirectAllowedUrls": "http://localhost:4200,http://localhost:4200/authentication/callback",
"AttachmentsPath": "C:\\Projects\\kurs\\kurs-platform\\configs\\mail-queue\\attachments",
"CdnPath": "C:\\Projects\\kurs\\kurs-platform\\configs\\docker\\data\\cdn",
"Version": "1.0.4"
},
"ConnectionStrings": {
// "Default": "Server=localhost;Database=Platform;User Id=sa;password=NvQp8s@l;Trusted_Connection=False;TrustServerCertificate=True;"
"Default": "User ID=sa;Password=NvQp8s@l;Host=localhost;Port=5432;Database=Platform;"
},
"Redis": {
"IsEnabled": "true",
"Configuration": "127.0.0.1:6379,abortConnect=false,connectTimeout=30000,responseTimeout=30000"
},
"AuthServer": {
"Authority": "https://localhost:44344",
"RequireHttpsMetadata": false,
"SwaggerClientId": "Platform_Swagger"
},
"StringEncryption": {
"DefaultPassPhrase": "UQpiYfT79zRZ3yYH"
},
"Elastic": {
"Url": "http://localhost:9200",
"Index": "dev"
},
"Serilog": {
"Using": ["Elastic.Serilog.Sinks", "Serilog.Sinks.Console"],
"MinimumLevel": {
"Default": "Information",
"Override": {
"Microsoft": "Information",
"Microsoft.EntityFrameworkCore": "Warning",
"Microsoft.AspNetCore": "Warning",
"OpenIddict": "Information"
}
},
"Enrich": ["FromLogContext"],
"WriteTo:Async": {
"Name": "Async",
"Args": {
"configure": [
{
"Name": "Console",
"Args": {
"outputTemplate": "{Level}: {Message:lj} {Properties:j}{NewLine}{Exception}"
}
}
]
}
}
}
}