added config for k8s deployment.
This commit is contained in:
parent
b36ea8e9d6
commit
246695350f
31
src/Nocr.TextMatcher.Host/appsettings.k8s.json
Normal file
31
src/Nocr.TextMatcher.Host/appsettings.k8s.json
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{
|
||||||
|
"Serilog": {
|
||||||
|
"MinimumLevel": {
|
||||||
|
"Default": "Information"
|
||||||
|
},
|
||||||
|
"WriteTo": [
|
||||||
|
{
|
||||||
|
"Name": "Console",
|
||||||
|
"Args": {
|
||||||
|
"outputTemplate": "[{Level:u3}] {Timestamp:MM-dd HH:mm:ss} {TraceId} {SourceContext:l} {Message:lj}{NewLine}{Exception}"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "File",
|
||||||
|
"Args": {
|
||||||
|
"path": "/var/log/nocr/text-matcher/nocr-text-matcher-.log",
|
||||||
|
"outputTemplate": "[{Level:u3}] {Timestamp:dd-MM-yyyy HH:mm:ss} {TraceId} {SourceContext:l} {Message:lj}{NewLine}{Exception}",
|
||||||
|
"fileSizeLimitBytes": 104857600,
|
||||||
|
"rollingInterval": "Day",
|
||||||
|
"rollOnFileSizeLimit": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"RebusRabbitMqOptions": {
|
||||||
|
"ConnectionString": ""
|
||||||
|
},
|
||||||
|
"ConnectionStrings": {
|
||||||
|
"TextMatcherContext": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user