Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

96 rivejä
4.1 KiB

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