added config for k8s with blank rmqc connection string.

This commit is contained in:
ruberoid 2024-04-04 21:31:42 +04:00
parent 2d4983827c
commit fb5a4bb20b
3 changed files with 31 additions and 3 deletions

View File

@ -23,6 +23,6 @@
]
},
"RebusRabbitMqOptions": {
"ConnectionString": "amqp://admin:admin@nocr-rabbitmq:5672/"
"ConnectionString": ""
}
}
}

View File

@ -14,4 +14,4 @@
"DirectExchangeName": "nocr.direct",
"TopicsExchangeName": "nocr.topics"
}
}
}

View File

@ -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": ""
}
}