56 lines
1.3 KiB
JSON
56 lines
1.3 KiB
JSON
{
|
|
"Serilog": {
|
|
"Using": [
|
|
"Serilog.Sinks.Console",
|
|
"Serilog.Sinks.Seq"
|
|
],
|
|
"MinimumLevel": {
|
|
"Default": "Debug",
|
|
"Override": {
|
|
"Microsoft": "Information",
|
|
"System": "Warning"
|
|
}
|
|
},
|
|
"WriteTo": [
|
|
{
|
|
"Name": "Console"
|
|
},
|
|
{
|
|
"Name": "Seq",
|
|
"Args": {
|
|
"serverUrl": "http://localhost:9081"
|
|
}
|
|
}
|
|
],
|
|
"Enrich": [
|
|
"FromLogContext",
|
|
"WithMachineName",
|
|
"WithThreadId"
|
|
]
|
|
},
|
|
"Authentication": {
|
|
"Audience": "account",
|
|
"ValidIssuers": [
|
|
"http://mccn.identity:8080/realms/mccn",
|
|
"http://localhost:18080/realms/mccn"
|
|
],
|
|
"MetadataAddress": "http://localhost:18080/realms/mccn/.well-known/openid-configuration",
|
|
"RequireHttpsMetadata": false
|
|
},
|
|
"Observability": {
|
|
"OtlpEndpoint": "http://localhost:4317"
|
|
},
|
|
"ConnectionStrings": {
|
|
"Database": "Host=localhost;Port=5432;Database=mccn;Username=postgres;Password=postgres",
|
|
"Cache": "localhost:6379"
|
|
},
|
|
"Users": {
|
|
"Keycloak": {
|
|
"AdminUrl": "http://localhost:18080/admin/realms/mccn/",
|
|
"TokenUrl": "http://localhost:18080/realms/mccn/protocol/openid-connect/token",
|
|
"ClientId": "mccn-api",
|
|
"ClientSecret": "change-this-secret"
|
|
}
|
|
}
|
|
}
|