.env 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Database Settings
  2. LOCAL_CONNECTION_STRING="Server=localhost;Database=MTWorkHRDB;User=sa;Password=Mahmoud001;MultipleActiveResultSets=true;Encrypt=False"
  3. # JWT Settings
  4. JWT_SECRET_KEY="dkajsdfhalksjdhfalksdjhfalksdjfhaslkdjfhasdlkfhjasdlkfhjasdfhh"
  5. JWT_AUDIENCE="http://localhost:28222"
  6. JWT_ISSUER="https://localhost:44325"
  7. JWT_DURATION_IN_MINUTES=60000
  8. # Cookie Options
  9. SESSION_COOKIE_EXPIRY_IN_SECONDS=3600
  10. SURVEY_COOKIE_EXPIRY_IN_SECONDS=1800
  11. # Database Config
  12. DB_RUN_MIGRATIONS=true
  13. # Attachment Settings
  14. TEMP_ATTACHMENT_PATH="/var/www/html/attachments/temp"
  15. ACTUAL_ATTACHMENT_PATH="/var/www/html/attachments/actual"
  16. # Mail Settings
  17. MAIL_API_KEY="your-sendgrid-api-key-here"
  18. MAIL_FROM_ADDRESS="eng_z@live.com"
  19. MAIL_FROM_NAME="Hr Management System"
  20. MAIL_PASSWORD="your-mail-password-here"
  21. MAIL_HOST="smtp-mail.outlook.com"
  22. MAIL_PORT=587
  23. TEMPLATE_PATH="/var/www/html/attachments/actual"
  24. # OTP Settings
  25. OTP_LENGTH=4
  26. OTP_EXPIRE_PERIOD_IN_MINUTES=3000
  27. OTP_SEND_EMAIL=true
  28. OTP_ALLOW_ZEROS=false
  29. OTP_MESSAGE_BODY="Dear User, Your OTP is {0}. Use this passcode to proceed."
  30. OTP_MESSAGE_SUBJECT="OTP"
  31. # General Settings
  32. ALLOWED_HOSTS="*"