1
0

configuration.yml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. ###############################################################
  2. # Authelia configuration #
  3. ###############################################################
  4. server:
  5. host: 0.0.0.0
  6. port: 9091
  7. jwt_secret: a-super-long-strong-string-of-letters-numbers-characters
  8. log:
  9. level: debug
  10. default_redirection_url: https://auth.ourfamily.group
  11. totp:
  12. issuer: ourfamily.group
  13. period: 30
  14. skew: 1
  15. #duo_api: ## You can use this api if you want push notifications of auth attempts
  16. # hostname: api-123456789.example.com
  17. # integration_key: ABCDEF
  18. # secret_key: yet-another-long-string-of-characters-and-numbers-and-symbols
  19. authentication_backend:
  20. disable_reset_password: false
  21. file:
  22. path: /config/users_database.yml
  23. password:
  24. algorithm: argon2id
  25. iterations: 1
  26. salt_length: 16
  27. parallelism: 8
  28. memory: 64
  29. access_control:
  30. default_policy: deny
  31. rules:
  32. # Rules applied to everyone
  33. - domain:
  34. - "ourfamily.group"
  35. - "www.ourfamily.group"
  36. - "help.ourfamily.group"
  37. - "cdn.ourfamily.group"
  38. policy: bypass
  39. - domain:
  40. - "tree.ourfamily.group"
  41. policy: one_factor
  42. # networks:
  43. # - 192.168.1.0/24
  44. # - domain:
  45. # - "a2factor.domain.org"
  46. # policy: two_factor
  47. # networks:
  48. # - 192.168.1.0/24
  49. session:
  50. name: authelia_session
  51. # This secret can also be set using the env variables AUTHELIA_SESSION_SECRET_FILE
  52. secret: a-really-L0ng_s7r0ng-secr3t-st1nggggg-shoul0-be-used
  53. expiration: 3600 # 1 hour
  54. inactivity: 7200 # 2 hours
  55. domain: ourfamily.group # Should match whatever your root protected domain is
  56. redis:
  57. host: auth-redis-1
  58. port: 6379
  59. # This secret can also be set using the env variables AUTHELIA_SESSION_REDIS_PASSWORD_FILE
  60. # password: authelia
  61. regulation:
  62. max_retries: 5
  63. find_time: 2m
  64. ban_time: 10m
  65. theme: dark
  66. storage:
  67. encryption_key: a-very-long-strong-key-should-be-used-here
  68. local:
  69. path: /config/db.sqlite3
  70. notifier:
  71. # filesystem:
  72. # filename: /config/notification.txt
  73. smtp:
  74. username: family@daruthe.com
  75. password: Motahub0!
  76. host: mail.daruthe.com
  77. port: 465
  78. sender: family@daruthe.com
  79. subject: "[Authelia] {title}"
  80. disable_require_tls: false
  81. disable_html_emails: false
  82. tls:
  83. server_name: mail.daruthe.com
  84. skip_verify: false
  85. minimum_version: TLS1.2