Matrix Docker Ansible eploy
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 

91 righe
4.3 KiB

  1. # matrix-corporal is a reconciliator and gateway for a managed Matrix server.
  2. # See: https://github.com/devture/matrix-corporal
  3. matrix_corporal_enabled: true
  4. # Controls whether the matrix-corporal container exposes its gateway HTTP port (tcp/41080 in the container).
  5. #
  6. # Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:41080"), or empty string to not expose.
  7. matrix_corporal_container_http_gateway_host_bind_port: ''
  8. # Controls whether the matrix-corporal container exposes its API HTTP port (tcp/41081 in the container).
  9. #
  10. # Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:41081"), or empty string to not expose.
  11. matrix_corporal_container_http_api_host_bind_port: ''
  12. # A list of extra arguments to pass to the container
  13. matrix_corporal_container_extra_arguments: []
  14. # List of systemd services that matrix-corporal.service depends on
  15. matrix_corporal_systemd_required_services_list: ['docker.service']
  16. matrix_corporal_docker_image: "devture/matrix-corporal:1.7.1"
  17. matrix_corporal_docker_image_force_pull: "{{ matrix_corporal_docker_image.endswith(':latest') }}"
  18. matrix_corporal_base_path: "{{ matrix_base_data_path }}/corporal"
  19. matrix_corporal_config_dir_path: "{{ matrix_corporal_base_path }}/config"
  20. matrix_corporal_cache_dir_path: "{{ matrix_corporal_base_path }}/cache"
  21. matrix_corporal_var_dir_path: "{{ matrix_corporal_base_path }}/var"
  22. matrix_corporal_matrix_homeserver_domain_name: "{{ matrix_domain }}"
  23. # Controls where matrix-corporal can reach your Synapse server (e.g. "http://matrix-synapse:8008").
  24. # If Synapse runs on the same machine, you may need to add its service to `matrix_corporal_systemd_required_services_list`.
  25. matrix_corporal_matrix_homeserver_api_endpoint: ""
  26. # The shared secret between matrix-corporal and Synapse's shared-secret-auth password provider module.
  27. # To use matrix-corporal, the shared-secret-auth password provider needs to be enabled and the secret needs to be identical.
  28. matrix_corporal_matrix_auth_shared_secret: ""
  29. # The shared secret for registering users with Synapse.
  30. # Needs to be identical to Synapse's `registration_shared_secret` setting.
  31. matrix_corporal_matrix_registration_shared_secret: ""
  32. matrix_corporal_matrix_timeout_milliseconds: 45000
  33. matrix_corporal_reconciliation_retry_interval_milliseconds: 30000
  34. matrix_corporal_reconciliation_user_id_local_part: "matrix-corporal"
  35. matrix_corporal_http_api_enabled: false
  36. matrix_corporal_http_api_auth_token: ""
  37. # Matrix Corporal policy provider configuration (goes directly into the configuration's `PolicyProvider` value)
  38. matrix_corporal_policy_provider_config: ""
  39. matrix_corporal_debug: false
  40. # Default Corporal configuration template which covers the generic use case.
  41. # You can customize it by controlling the various variables inside it.
  42. #
  43. # For a more advanced customization, you can extend the default (see `matrix_corporal_configuration_extension_json`)
  44. # or completely replace this variable with your own template.
  45. #
  46. # The side-effect of this lookup is that Ansible would even parse the JSON for us, returning a dict.
  47. # This is unlike what it does when looking up YAML template files (no automatic parsing there).
  48. matrix_corporal_configuration_default: "{{ lookup('template', 'templates/config.json.j2') }}"
  49. # Your custom JSON configuration for Corporal should go to `matrix_corporal_configuration_extension_json`.
  50. # This configuration extends the default starting configuration (`matrix_corporal_configuration_default`).
  51. #
  52. # You can override individual variables from the default configuration, or introduce new ones.
  53. #
  54. # If you need something more special, you can take full control by
  55. # completely redefining `matrix_corporal_configuration_default`.
  56. #
  57. # Example configuration extension follows:
  58. #
  59. # matrix_corporal_configuration_extension_json: |
  60. # {
  61. # "Matrix": {
  62. # "TimeoutMilliseconds": 60000
  63. # }
  64. # }
  65. matrix_corporal_configuration_extension_json: '{}'
  66. matrix_corporal_configuration_extension: "{{ matrix_corporal_configuration_extension_json|from_json if matrix_corporal_configuration_extension_json|from_json is mapping else {} }}"
  67. # Holds the final Corporal configuration (a combination of the default and its extension).
  68. # You most likely don't need to touch this variable. Instead, see `matrix_corporal_configuration_default`.
  69. matrix_corporal_configuration: "{{ matrix_corporal_configuration_default|combine(matrix_corporal_configuration_extension, recursive=True) }}"