Matrix Docker Ansible eploy
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 

81 satır
4.5 KiB

  1. #jinja2: lstrip_blocks: True
  2. http:
  3. listeners:
  4. - name: web
  5. resources: {{ matrix_authentication_service_config_http_listener_web_resources | to_json }}
  6. binds:
  7. - address: '[::]:8080'
  8. proxy_protocol: false
  9. prefix: {{ matrix_authentication_service_path_prefix }}
  10. - name: internal
  11. resources:
  12. - name: health
  13. binds:
  14. - host: localhost
  15. port: 8081
  16. proxy_protocol: false
  17. prefix: {{ matrix_authentication_service_path_prefix }}
  18. trusted_proxies: {{ matrix_authentication_service_config_http_trusted_proxies | to_json }}
  19. public_base: {{ matrix_authentication_service_config_http_public_base | to_json }}
  20. issuer: {{ matrix_authentication_service_config_http_issuer | to_json }}
  21. database:
  22. host: {{ matrix_authentication_service_config_database_host | to_json }}
  23. port: {{ matrix_authentication_service_config_database_port | to_json }}
  24. username: {{ matrix_authentication_service_config_database_username | to_json }}
  25. password: {{ matrix_authentication_service_config_database_password | to_json }}
  26. database: {{ matrix_authentication_service_config_database_database | to_json }}
  27. ssl_mode: {{ matrix_authentication_service_config_database_ssl_mode | to_json }}
  28. max_connections: {{ matrix_authentication_service_config_database_max_connections | to_json }}
  29. min_connections: {{ matrix_authentication_service_config_database_min_connections | to_json }}
  30. connect_timeout: {{ matrix_authentication_service_config_database_connect_timeout | to_json }}
  31. idle_timeout: {{ matrix_authentication_service_config_database_idle_timeout | to_json }}
  32. max_lifetime: {{ matrix_authentication_service_config_database_max_lifetime | to_json }}
  33. email:
  34. from: {{ matrix_authentication_service_config_email_from | to_json }}
  35. reply_to: {{ matrix_authentication_service_config_email_reply_to | to_json }}
  36. transport: {{ matrix_authentication_service_config_email_transport | to_json }}
  37. {% if matrix_authentication_service_config_email_transport == 'smtp' %}
  38. mode: {{ matrix_authentication_service_config_email_mode | to_json }}
  39. hostname: {{ matrix_authentication_service_config_email_hostname | to_json }}
  40. port: {{ matrix_authentication_service_config_email_port | int | to_json }}
  41. {% if matrix_authentication_service_config_email_username %}
  42. username: {{ matrix_authentication_service_config_email_username | to_json }}
  43. {% endif %}
  44. {% if matrix_authentication_service_config_email_password %}
  45. password: {{ matrix_authentication_service_config_email_password | to_json }}
  46. {% endif %}
  47. {% endif %}
  48. secrets:
  49. encryption: {{ matrix_authentication_service_config_secrets_encryption | to_json }}
  50. keys: {{ matrix_authentication_service_config_secrets_keys | to_json }}
  51. passwords:
  52. enabled: {{ matrix_authentication_service_config_passwords_enabled | to_json }}
  53. schemes: {{ matrix_authentication_service_config_passwords_schemes | to_json }}
  54. minimum_complexity: {{ matrix_authentication_service_config_passwords_minimum_complexity | to_json }}
  55. matrix:
  56. homeserver: {{ matrix_authentication_service_config_matrix_homeserver | to_json }}
  57. secret: {{ matrix_authentication_service_config_matrix_secret | to_json }}
  58. endpoint: {{ matrix_authentication_service_config_matrix_endpoint | to_json }}
  59. account:
  60. email_change_allowed: {{ matrix_authentication_service_config_account_email_change_allowed | to_json }}
  61. displayname_change_allowed: {{ matrix_authentication_service_config_account_displayname_change_allowed | to_json }}
  62. password_registration_enabled: {{ matrix_authentication_service_config_account_password_registration_enabled | to_json }}
  63. password_registration_email_required: {{ matrix_authentication_service_config_account_password_registration_email_required | to_json }}
  64. password_change_allowed: {{ matrix_authentication_service_config_account_password_change_allowed | to_json }}
  65. password_recovery_enabled: {{ matrix_authentication_service_config_account_password_recovery_enabled | to_json }}
  66. account_deactivation_allowed: {{ matrix_authentication_service_config_account_account_deactivation_allowed | to_json }}
  67. login_with_email_allowed: {{ matrix_authentication_service_config_account_login_with_email_allowed | to_json }}
  68. registration_token_required: {{ matrix_authentication_service_config_account_registration_token_required | to_json }}
  69. clients: {{ matrix_authentication_service_config_clients | to_json }}
  70. {% if matrix_authentication_service_config_upstream_oauth2_providers | length > 0 %}
  71. upstream_oauth2:
  72. providers: {{ matrix_authentication_service_config_upstream_oauth2_providers | to_json }}
  73. {% endif %}