appsettings.Linux.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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": "DoNotReply@bc3ee9f1-57df-4a29-b566-a84d72074975.azurecomm.net",
  31. "FromName": "MTWork Hr Management System",
  32. "Password": "1qU8Q~gt4nex-gO3gWrc3FO~fpv8uGoTGqjyFbHx",
  33. "Host": "smtp.azurecomm.net",
  34. "Port": 587,
  35. "SmtpUsername": "SMTP_username", // "MTCommunicationServiceResource.57fe2efd-9859-488f-8313-0acd27450cf0.2ff48a6f-9604-49d0-b338-28e96f91ec99", //"EmailSMTPApp",
  36. "TemplatePath": "C:\\Attachment\\MailTemp\\EmailTemplate.html"
  37. },
  38. "OTPSettings": {
  39. "Length": 4,
  40. "ExpirePeriodInMinutes": 3000,
  41. "SendEmail": true,
  42. "AllowZeros": false,
  43. "MessageBody": "Dear User, Your OTP is {0}. Use this passcode to proceed.",
  44. "MessageSubject": "OTP"
  45. },
  46. "AllowedHosts": "*"
  47. }