init
This commit is contained in:
55
src/API/Mccn.Api/appsettings.json
Normal file
55
src/API/Mccn.Api/appsettings.json
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user