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

57 lines
1.9 KiB
JSON
Raw Normal View History

2025-05-06 06:45:49 +00:00
{
"App": {
2025-05-06 11:03:45 +00:00
"SelfUrl": "https://platform-api.sozsoft.com",
"ClientUrl": "https://platform.sozsoft.com",
"CorsOrigins": "https://platform.sozsoft.com",
"RedirectAllowedUrls": "https://platform.sozsoft.com,https://platform.sozsoft.com/authentication/callback",
2025-05-06 06:45:49 +00:00
"AttachmentsPath": "/etc/api/mail-queue/attachments",
"CdnPath": "/etc/api/cdn"
},
"ConnectionStrings": {
2025-05-06 11:03:45 +00:00
// "Default": "Server=sql;Database=Demo;User Id=sa;password=NvQp8s@l;Trusted_Connection=False;TrustServerCertificate=True;"
"Default": "User ID=sa;Password=NvQp8s@l;Host=postgres;Port=5432;Database=Demo;"
2025-05-06 06:45:49 +00:00
},
"Redis": {
"IsEnabled": "true",
"Configuration": "redis:6379,abortConnect=false,connectTimeout=30000,responseTimeout=30000"
},
"AuthServer": {
2025-05-06 11:03:45 +00:00
"Authority": "https://platform-api.sozsoft.com",
2025-05-06 06:45:49 +00:00
"RequireHttpsMetadata": false,
"SwaggerClientId": "Platform_Swagger"
},
"StringEncryption": {
"DefaultPassPhrase": "UQpiYfT79zRZ3yYH"
},
"Elastic": {
"Url": "http://elastic:9200",
"Index": "prod"
},
"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}"
}
}
]
}
}
}
}