57 lines
2 KiB
JSON
57 lines
2 KiB
JSON
|
|
{
|
||
|
|
"App": {
|
||
|
|
"SelfUrl": "https://platform-dev-api.sozsoft.net",
|
||
|
|
"ClientUrl": "https://platform-dev.sozsoft.net",
|
||
|
|
"CorsOrigins": "https://platform-dev.sozsoft.net",
|
||
|
|
"RedirectAllowedUrls": "https://platform-dev.sozsoft.net,https://platform-dev.sozsoft.net/authentication/callback",
|
||
|
|
"AttachmentsPath": "/etc/api/mail-queue/attachments",
|
||
|
|
"CdnPath": "/etc/api/cdn"
|
||
|
|
},
|
||
|
|
"ConnectionStrings": {
|
||
|
|
// "Default": "Server=sql;Database=Platform;User Id=sa;password=NvQp8s@l;Trusted_Connection=False;TrustServerCertificate=True;"
|
||
|
|
"Default": "User ID=sa;Password=NvQp8s@l;Host=postgres;Port=5432;Database=Platform;"
|
||
|
|
},
|
||
|
|
"Redis": {
|
||
|
|
"IsEnabled": "true",
|
||
|
|
"Configuration": "redis:6379,abortConnect=false,connectTimeout=30000,responseTimeout=30000"
|
||
|
|
},
|
||
|
|
"AuthServer": {
|
||
|
|
"Authority": "https://platform-dev-api.sozsoft.net",
|
||
|
|
"RequireHttpsMetadata": false,
|
||
|
|
"SwaggerClientId": "Platform_Swagger"
|
||
|
|
},
|
||
|
|
"StringEncryption": {
|
||
|
|
"DefaultPassPhrase": "UQpiYfT79zRZ3yYH"
|
||
|
|
},
|
||
|
|
"Elastic": {
|
||
|
|
"Url": "http://elastic: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}"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|