Matrix Docker Ansible eploy
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 

148 líneas
9.2 KiB

  1. ---
  2. # Conduit is a simple, fast and reliable chat server powered by Matrix
  3. # Project source code URL: https://gitlab.com/famedly/conduit
  4. # See: https://conduit.rs
  5. matrix_conduit_enabled: true
  6. matrix_conduit_hostname: ''
  7. matrix_conduit_docker_image: "{{ matrix_conduit_docker_image_name_prefix }}matrixconduit/matrix-conduit:{{ matrix_conduit_docker_image_tag }}"
  8. matrix_conduit_docker_image_name_prefix: "docker.io/"
  9. # renovate: datasource=docker depName=matrixconduit/matrix-conduit
  10. matrix_conduit_docker_image_tag: "v0.7.0"
  11. matrix_conduit_docker_image_force_pull: "{{ matrix_conduit_docker_image.endswith(':latest') }}"
  12. matrix_conduit_base_path: "{{ matrix_base_data_path }}/conduit"
  13. matrix_conduit_config_path: "{{ matrix_conduit_base_path }}/config"
  14. matrix_conduit_data_path: "{{ matrix_conduit_base_path }}/data"
  15. matrix_conduit_port_number: 6167
  16. matrix_conduit_tmp_directory_size_mb: 500
  17. # List of systemd services that matrix-conduit.service depends on
  18. matrix_conduit_systemd_required_services_list: "{{ matrix_conduit_systemd_required_services_list_default + matrix_conduit_systemd_required_services_list_auto + matrix_conduit_systemd_required_services_list_custom }}"
  19. matrix_conduit_systemd_required_services_list_default: "{{ [devture_systemd_docker_base_docker_service_name] if devture_systemd_docker_base_docker_service_name else [] }}"
  20. matrix_conduit_systemd_required_services_list_auto: []
  21. matrix_conduit_systemd_required_services_list_custom: []
  22. # List of systemd services that matrix-conduit.service wants
  23. matrix_conduit_systemd_wanted_services_list: []
  24. # Controls how long to sleep for after starting the matrix-synapse container.
  25. #
  26. # Delaying, so that the homeserver can manage to fully start and various services
  27. # that depend on it (`matrix_conduit_systemd_required_services_list` and `matrix_conduit_systemd_wanted_services_list`)
  28. # may only start after the homeserver is up and running.
  29. #
  30. # This can be set to 0 to remove the delay.
  31. matrix_conduit_systemd_service_post_start_delay_seconds: 3
  32. # The base container network. It will be auto-created by this role if it doesn't exist already.
  33. matrix_conduit_container_network: ""
  34. # A list of additional container networks that the container would be connected to.
  35. # The role does not create these networks, so make sure they already exist.
  36. # Use this to expose this container to another reverse proxy, which runs in a different container network.
  37. matrix_conduit_container_additional_networks: "{{ matrix_conduit_container_additional_networks_auto + matrix_conduit_container_additional_networks_custom }}"
  38. matrix_conduit_container_additional_networks_auto: []
  39. matrix_conduit_container_additional_networks_custom: []
  40. # matrix_conduit_container_labels_traefik_enabled controls whether labels to assist a Traefik reverse-proxy will be attached to the container.
  41. # See `../templates/labels.j2` for details.
  42. #
  43. # To inject your own other container labels, see `matrix_conduit_container_labels_additional_labels`.
  44. matrix_conduit_container_labels_traefik_enabled: true
  45. matrix_conduit_container_labels_traefik_docker_network: "{{ matrix_conduit_container_network }}"
  46. matrix_conduit_container_labels_traefik_entrypoints: web-secure
  47. matrix_conduit_container_labels_traefik_tls_certResolver: default # noqa var-naming
  48. # Controls whether labels will be added for handling the root (/) path on a public Traefik entrypoint.
  49. matrix_conduit_container_labels_public_client_root_enabled: true
  50. matrix_conduit_container_labels_public_client_root_traefik_hostname: "{{ matrix_conduit_hostname }}"
  51. matrix_conduit_container_labels_public_client_root_traefik_rule: "Host(`{{ matrix_conduit_container_labels_public_client_root_traefik_hostname }}`) && Path(`/`)"
  52. matrix_conduit_container_labels_public_client_root_traefik_priority: 0
  53. matrix_conduit_container_labels_public_client_root_traefik_entrypoints: "{{ matrix_conduit_container_labels_traefik_entrypoints }}"
  54. matrix_conduit_container_labels_public_client_root_traefik_tls: "{{ matrix_conduit_container_labels_public_client_root_traefik_entrypoints != 'web' }}"
  55. matrix_conduit_container_labels_public_client_root_traefik_tls_certResolver: "{{ matrix_conduit_container_labels_traefik_tls_certResolver }}" # noqa var-naming
  56. matrix_conduit_container_labels_public_client_root_redirection_enabled: false
  57. matrix_conduit_container_labels_public_client_root_redirection_url: ""
  58. # Controls whether labels will be added that expose the Client-Server API on a public Traefik entrypoint.
  59. matrix_conduit_container_labels_public_client_api_enabled: true
  60. matrix_conduit_container_labels_public_client_api_traefik_hostname: "{{ matrix_conduit_hostname }}"
  61. matrix_conduit_container_labels_public_client_api_traefik_path_prefix: /_matrix
  62. matrix_conduit_container_labels_public_client_api_traefik_rule: "Host(`{{ matrix_conduit_container_labels_public_client_api_traefik_hostname }}`) && PathPrefix(`{{ matrix_conduit_container_labels_public_client_api_traefik_path_prefix }}`)"
  63. matrix_conduit_container_labels_public_client_api_traefik_priority: 0
  64. matrix_conduit_container_labels_public_client_api_traefik_entrypoints: "{{ matrix_conduit_container_labels_traefik_entrypoints }}"
  65. matrix_conduit_container_labels_public_client_api_traefik_tls: "{{ matrix_conduit_container_labels_public_client_api_traefik_entrypoints != 'web' }}"
  66. matrix_conduit_container_labels_public_client_api_traefik_tls_certResolver: "{{ matrix_conduit_container_labels_traefik_tls_certResolver }}" # noqa var-naming
  67. # Controls whether labels will be added that expose the Client-Server API on the internal Traefik entrypoint.
  68. # This is similar to `matrix_conduit_container_labels_public_client_api_enabled`, but the entrypoint and intent is different.
  69. matrix_conduit_container_labels_internal_client_api_enabled: false
  70. matrix_conduit_container_labels_internal_client_api_traefik_path_prefix: "{{ matrix_conduit_container_labels_public_client_api_traefik_path_prefix }}"
  71. matrix_conduit_container_labels_internal_client_api_traefik_rule: "PathPrefix(`{{ matrix_conduit_container_labels_internal_client_api_traefik_path_prefix }}`)"
  72. matrix_conduit_container_labels_internal_client_api_traefik_priority: "{{ matrix_conduit_container_labels_public_client_api_traefik_priority }}"
  73. matrix_conduit_container_labels_internal_client_api_traefik_entrypoints: ""
  74. # Controls whether labels will be added that expose the Server-Server API (Federation API) on a public Traefik entrypoint.
  75. matrix_conduit_container_labels_public_federation_api_enabled: "{{ matrix_conduit_allow_federation }}"
  76. matrix_conduit_container_labels_public_federation_api_traefik_hostname: "{{ matrix_conduit_hostname }}"
  77. matrix_conduit_container_labels_public_federation_api_traefik_path_prefix: /_matrix
  78. matrix_conduit_container_labels_public_federation_api_traefik_rule: "Host(`{{ matrix_conduit_container_labels_public_federation_api_traefik_hostname }}`) && PathPrefix(`{{ matrix_conduit_container_labels_public_federation_api_traefik_path_prefix }}`)"
  79. matrix_conduit_container_labels_public_federation_api_traefik_priority: 0
  80. matrix_conduit_container_labels_public_federation_api_traefik_entrypoints: ''
  81. # TLS is force-enabled here, because the spec (https://spec.matrix.org/v1.9/server-server-api/#tls) says that the federation API must use HTTPS.
  82. matrix_conduit_container_labels_public_federation_api_traefik_tls: true
  83. matrix_conduit_container_labels_public_federation_api_traefik_tls_certResolver: "{{ matrix_conduit_container_labels_traefik_tls_certResolver }}" # noqa var-naming
  84. # matrix_conduit_container_labels_additional_labels contains a multiline string with additional labels to add to the container label file.
  85. # See `../templates/labels.j2` for details.
  86. #
  87. # Example:
  88. # matrix_conduit_container_labels_additional_labels: |
  89. # my.label=1
  90. # another.label="here"
  91. matrix_conduit_container_labels_additional_labels: ''
  92. # Extra arguments for the Docker container
  93. matrix_conduit_container_extra_arguments: []
  94. # Specifies which template files to use when configuring Conduit.
  95. # If you'd like to have your own different configuration, feel free to copy and paste
  96. # the original files into your inventory (e.g. in `inventory/host_vars/<host>/`)
  97. # and then change the specific host's `vars.yaml` file like this:
  98. # matrix_conduit_template_conduit_config: "{{ playbook_dir }}/inventory/host_vars/<host>/conduit.toml.j2"
  99. matrix_conduit_template_conduit_config: "{{ role_path }}/templates/conduit.toml.j2"
  100. # Max size for uploads, in bytes
  101. matrix_conduit_max_request_size: 20_000_000
  102. # Maximum number of open files for Conduit's embedded RocksDB database
  103. # See https://github.com/facebook/rocksdb/wiki/RocksDB-Tuning-Guide#tuning-other-options
  104. # By default, Conduit uses a relatively low value of 20.
  105. matrix_conduit_rocksdb_max_open_files: 64
  106. # Enables registration. If set to false, no users can register on this server.
  107. matrix_conduit_allow_registration: false
  108. matrix_conduit_allow_federation: true
  109. # Enable the display name lightning bolt on registration.
  110. matrix_conduit_enable_lightning_bolt: true
  111. matrix_conduit_trusted_servers:
  112. - "matrix.org"
  113. # How many requests Conduit sends to other servers at the same time
  114. matrix_conduit_max_concurrent_requests: 100
  115. # TURN integration.
  116. # See: https://gitlab.com/famedly/conduit/-/blob/next/TURN.md
  117. matrix_conduit_turn_uris: []
  118. matrix_conduit_turn_secret: ''
  119. matrix_conduit_turn_username: ''
  120. matrix_conduit_turn_password: ''