appsettings.Linux.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "Logging": {
  3. "LogLevel": {
  4. "Default": "Information",
  5. "Microsoft.AspNetCore": "Warning"
  6. }
  7. },
  8. "ConnectionStrings": {
  9. "LocalConnectionString": "Server=localhost;Database=MTWorkHRDB;User=sa;Password=Mahmoud001;MultipleActiveResultSets=true;Encrypt=False"
  10. },
  11. "JwtSettings": {
  12. "SecretKey": "dkajsdfhalksjdhfalksdjhfalksdjfhaslkdjfhasdlkfhjasdlkfhasdlkfhjasdfhh",
  13. "Audience": "http://localhost:28222",
  14. "Issuer": "https://localhost:44325",
  15. "DurationInMinutes": 60000
  16. },
  17. "CookieOptions": {
  18. "SessionCookieExpiryInSeconds": 3600,
  19. "SurveyCookieExpiryInSeconds": 1800
  20. },
  21. "DbConfig": {
  22. "RunMigrations": true
  23. },
  24. "AttachmentSettings": {
  25. "TempAttachment": "/var/www/html/attachments/temp",
  26. "ActualAttachment": "/var/www/html/attachments/actual"
  27. },
  28. "MailSettings": {
  29. "ApiKey": "SendGrid-Key",
  30. "FromAddress": "eng_z@live.com",
  31. "FromName": "Hr Management System",
  32. "Password": "111111111111",
  33. "Host": "smtp-mail.outlook.com",
  34. "Port": 587,
  35. "TemplatePath": "/var/www/html/attachments/mailtemp"
  36. },
  37. "OTPSettings": {
  38. "Length": 4,
  39. "ExpirePeriodInMinutes": 3000,
  40. "SendEmail": true,
  41. "AllowZeros": false,
  42. "MessageBody": "Dear User, Your OTP is {0}. Use this passcode to proceed.",
  43. "MessageSubject": "OTP"
  44. },
  45. "AllowedHosts": "*"
  46. }