Matrix Docker Ansible eploy
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

95 строки
4.0 KiB

  1. ---
  2. matrix_etherpad_enabled: false
  3. matrix_etherpad_base_path: "{{ matrix_base_data_path }}/etherpad"
  4. matrix_etherpad_version: 1.8.16
  5. matrix_etherpad_docker_image: "{{ matrix_container_global_registry_prefix }}etherpad/etherpad:{{ matrix_etherpad_version }}"
  6. matrix_etherpad_docker_image_force_pull: "{{ matrix_etherpad_docker_image.endswith(':latest') }}"
  7. # List of systemd services that matrix-etherpad.service depends on.
  8. matrix_etherpad_systemd_required_services_list: ['docker.service']
  9. # List of systemd services that matrix-etherpad.service wants
  10. matrix_etherpad_systemd_wanted_services_list: []
  11. # Container user has to be able to write to the source file directories until this bug is fixed:
  12. # https://github.com/ether/etherpad-lite/issues/2683
  13. matrix_etherpad_user_uid: '5001'
  14. matrix_etherpad_user_gid: '5001'
  15. # Controls whether the matrix-etherpad container exposes its HTTP port (tcp/9001 in the container).
  16. #
  17. # Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:9001"), or empty string to not expose.
  18. matrix_etherpad_container_http_host_bind_port: ''
  19. # A list of extra arguments to pass to the container
  20. matrix_etherpad_container_extra_arguments: []
  21. matrix_etherpad_public_endpoint: '/etherpad'
  22. # By default, the Etherpad app can be accessed within the Dimension domain
  23. matrix_etherpad_base_url: "https://{{ matrix_server_fqn_dimension }}{{ matrix_etherpad_public_endpoint }}"
  24. # Database-related configuration fields.
  25. #
  26. # Etherpad requires a dedicated database
  27. matrix_etherpad_database_engine: 'postgres'
  28. matrix_etherpad_database_username: 'matrix_etherpad'
  29. matrix_etherpad_database_password: 'some-password'
  30. matrix_etherpad_database_hostname: 'matrix-postgres'
  31. matrix_etherpad_database_port: 5432
  32. matrix_etherpad_database_name: 'matrix_etherpad'
  33. # If a admin username and password is set, the /admin web page will be
  34. # available.
  35. matrix_etherpad_admin_username: ''
  36. matrix_etherpad_admin_password: ''
  37. matrix_etherpad_database_connection_string: 'postgres://{{ matrix_etherpad_database_username }}:{{ matrix_etherpad_database_password }}@{{ matrix_etherpad_database_hostname }}:{{ matrix_etherpad_database_port }}/{{ matrix_etherpad_database_name }}'
  38. # Variables configuring the etherpad
  39. matrix_etherpad_title: 'Etherpad'
  40. matrix_etherpad_default_pad_text: |
  41. Welcome to Etherpad!
  42. This pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborate seamlessly on documents!
  43. Get involved with Etherpad at https://etherpad.org
  44. # Default Etherpad configuration template which covers the generic use case.
  45. # You can customize it by controlling the various variables inside it.
  46. #
  47. # For a more advanced customization, you can extend the default (see `matrix_etherpad_configuration_extension_json`)
  48. # or completely replace this variable with your own template.
  49. matrix_etherpad_configuration_default: "{{ lookup('template', 'templates/settings.json.j2') }}"
  50. # Your custom JSON configuration for Etherpad goes here.
  51. # This configuration extends the default starting configuration (`matrix_etherpad_configuration_json`).
  52. #
  53. # You can override individual variables from the default configuration, or introduce new ones.
  54. #
  55. # If you need something more special, you can take full control by
  56. # completely redefining `matrix_etherpad_configuration_json`.
  57. #
  58. # Example configuration extension follows:
  59. #
  60. # matrix_etherpad_configuration_extension_json: |
  61. # {
  62. # "loadTest": true,
  63. # "commitRateLimiting": {
  64. # "duration": 1,
  65. # "points": 10
  66. # }
  67. # }
  68. #
  69. matrix_etherpad_configuration_extension_json: '{}'
  70. matrix_etherpad_configuration_extension: "{{ matrix_etherpad_configuration_extension_json|from_json if matrix_etherpad_configuration_extension_json|from_json is mapping else {} }}"
  71. # Holds the final Etherpad configuration (a combination of the default and its extension).
  72. # You most likely don't need to touch this variable. Instead, see `matrix_etherpad_configuration_json`.
  73. matrix_etherpad_configuration: "{{ matrix_etherpad_configuration_default|combine(matrix_etherpad_configuration_extension, recursive=True) }}"