From 76fbafb476d64a01453d41def4ffebe7afe424a7 Mon Sep 17 00:00:00 2001 From: ruberoid Date: Sun, 14 Apr 2024 15:22:18 +0400 Subject: [PATCH] added k8s config. --- src/Nocr.Users.Host/appsettings.k8s.json | 25 ++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/Nocr.Users.Host/appsettings.k8s.json diff --git a/src/Nocr.Users.Host/appsettings.k8s.json b/src/Nocr.Users.Host/appsettings.k8s.json new file mode 100644 index 0000000..b0af537 --- /dev/null +++ b/src/Nocr.Users.Host/appsettings.k8s.json @@ -0,0 +1,25 @@ +{ + "Serilog": { + "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/users-.log", + "outputTemplate": "[{Level:u3}] {Timestamp:dd-MM-yyyy HH:mm:ss} {TraceId} {SourceContext:l} {Message:lj}{NewLine}{Exception}", + "fileSizeLimitBytes": 104857600, + "rollingInterval": "Day", + "rollOnFileSizeLimit": true + } + } + ] + }, + "ConnectionStrings": { + "UsersContext": "" + } +} \ No newline at end of file