diff --git a/src/Nocr.TelegramListener.Host/appsettings.Production.json b/src/Nocr.TelegramListener.Host/appsettings.Production.json index d3c47a6..67adcb6 100644 --- a/src/Nocr.TelegramListener.Host/appsettings.Production.json +++ b/src/Nocr.TelegramListener.Host/appsettings.Production.json @@ -23,6 +23,6 @@ ] }, "RebusRabbitMqOptions": { - "ConnectionString": "amqp://admin:admin@nocr-rabbitmq:5672/" + "ConnectionString": "" } -} +} \ No newline at end of file diff --git a/src/Nocr.TelegramListener.Host/appsettings.json b/src/Nocr.TelegramListener.Host/appsettings.json index a2dcbf1..1526fec 100644 --- a/src/Nocr.TelegramListener.Host/appsettings.json +++ b/src/Nocr.TelegramListener.Host/appsettings.json @@ -14,4 +14,4 @@ "DirectExchangeName": "nocr.direct", "TopicsExchangeName": "nocr.topics" } -} +} \ No newline at end of file diff --git a/src/Nocr.TelegramListener.Host/appsettings.k8s.json b/src/Nocr.TelegramListener.Host/appsettings.k8s.json new file mode 100644 index 0000000..67adcb6 --- /dev/null +++ b/src/Nocr.TelegramListener.Host/appsettings.k8s.json @@ -0,0 +1,28 @@ +{ + "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": "" + } +} \ No newline at end of file