From 246695350f46b7054681a305b41bc2dc3ad8ce2a Mon Sep 17 00:00:00 2001 From: ruberoid Date: Fri, 5 Apr 2024 15:20:21 +0400 Subject: [PATCH] added config for k8s deployment. --- .../appsettings.k8s.json | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/Nocr.TextMatcher.Host/appsettings.k8s.json diff --git a/src/Nocr.TextMatcher.Host/appsettings.k8s.json b/src/Nocr.TextMatcher.Host/appsettings.k8s.json new file mode 100644 index 0000000..ff7e4d6 --- /dev/null +++ b/src/Nocr.TextMatcher.Host/appsettings.k8s.json @@ -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": "" + } +}