appsettings.Production.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. "Application": {
  3. "Environment": "Production"
  4. },
  5. "ConnectionStrings": {
  6. "EmbaseDb": "Host=prod-db.elsevier.com;Port=5432;Database=embase;Username=embase_user;Password=changeme"
  7. },
  8. "Sftp": {
  9. "Host": "sftp.elsevier.com",
  10. "Port": 22,
  11. "Username": "embase_sftp",
  12. "Password": "",
  13. "PrivateKeyPath": "/run/secrets/sftp_key",
  14. "RemotePath": "/incoming/embase/conference/"
  15. },
  16. "Packaging": {
  17. "PdfSourcePath": "/production/articles/pdf/",
  18. "TempWorkingPath": "/tmp/",
  19. "ZipPrefix": "emconflum",
  20. "ZipPadLength": 7
  21. },
  22. "Scheduler": {
  23. "CronExpression": "0 0 2 * * ?",
  24. "TimeZone": "Asia/Kolkata"
  25. },
  26. "Serilog": {
  27. "MinimumLevel": {
  28. "Default": "Information",
  29. "Override": {
  30. "Microsoft": "Warning",
  31. "Quartz": "Information",
  32. "System": "Warning"
  33. }
  34. },
  35. "WriteTo": [
  36. {
  37. "Name": "Console",
  38. "Args": {
  39. "outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss} {Level:u3}] {Message:lj}{NewLine}{Exception}"
  40. }
  41. },
  42. {
  43. "Name": "File",
  44. "Args": {
  45. "path": "/logs/scheduler.log",
  46. "rollingInterval": "Day",
  47. "retainedFileCountLimit": 30,
  48. "outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss} {Level:u3}] {Message:lj}{NewLine}{Exception}"
  49. }
  50. }
  51. ]
  52. }
  53. }