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.
99 lines
4.3 KiB
99 lines
4.3 KiB
matrix_etherpad_enabled: false
|
|
|
|
matrix_etherpad_base_path: "{{ matrix_base_data_path }}/etherpad"
|
|
|
|
matrix_etherpad_docker_image: "docker.io/etherpad/etherpad:1.8.7"
|
|
matrix_etherpad_docker_image_force_pull: "{{ matrix_etherpad_docker_image.endswith(':latest') }}"
|
|
|
|
# List of systemd services that matrix-etherpad.service depends on.
|
|
matrix_etherpad_systemd_required_services_list: ['docker.service']
|
|
|
|
# List of systemd services that matrix-etherpad.service wants
|
|
matrix_etherpad_systemd_wanted_services_list: []
|
|
|
|
# Container user has to be able to write to the source file directories until this bug is fixed:
|
|
# https://github.com/ether/etherpad-lite/issues/2683
|
|
matrix_etherpad_user_uid: '5001'
|
|
matrix_etherpad_user_gid: '5001'
|
|
|
|
# Controls whether the matrix-etherpad container exposes its HTTP port (tcp/9001 in the container).
|
|
#
|
|
# Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:9001"), or empty string to not expose.
|
|
matrix_etherpad_container_http_host_bind_port: ''
|
|
|
|
# A list of extra arguments to pass to the container
|
|
#
|
|
# We assume that a reverse proxy is used and tell the container to trust it
|
|
# Details: https://github.com/ether/etherpad-lite/blob/develop/doc/docker.md
|
|
matrix_etherpad_container_extra_arguments: [
|
|
'--env TRUST_PROXY=true'
|
|
]
|
|
|
|
matrix_etherpad_public_endpoint: '/etherpad'
|
|
|
|
# By default, the Etherpad app can be accessed within the Dimension domain
|
|
matrix_etherpad_base_url: "https://{{ matrix_server_fqn_dimension }}{{ matrix_etherpad_public_endpoint }}"
|
|
|
|
# Database-related configuration fields.
|
|
#
|
|
# Etherpad recommends using a dedicated database, and supports Sqlite only for development
|
|
#
|
|
# To use Postgres:
|
|
# - change the engine (`matrix_etherpad_database_engine: 'postgres'`)
|
|
# - adjust your database credentials via the `matrix_etherpad_postgres_*` variables
|
|
matrix_etherpad_database_engine: 'sqlite'
|
|
|
|
matrix_etherpad_sqlite_database_path_local: "{{ matrix_etherpad_base_path }}/etherpad.db"
|
|
matrix_etherpad_sqlite_database_path_in_container: "/data/etherpad.db"
|
|
|
|
matrix_etherpad_database_username: 'matrix_etherpad'
|
|
matrix_etherpad_database_password: 'some-password'
|
|
matrix_etherpad_database_hostname: 'matrix-postgres'
|
|
matrix_etherpad_database_port: 5432
|
|
matrix_etherpad_database_name: 'matrix_etherpad'
|
|
|
|
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 }}'
|
|
|
|
# Variables configuring the etherpad
|
|
matrix_etherpad_title: 'Etherpad'
|
|
matrix_etherpad_default_pad_text: |
|
|
Welcome to Etherpad!
|
|
|
|
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!
|
|
|
|
Get involved with Etherpad at https://etherpad.org
|
|
|
|
# Default Etherpad configuration template which covers the generic use case.
|
|
# You can customize it by controlling the various variables inside it.
|
|
#
|
|
# For a more advanced customization, you can extend the default (see `matrix_etherpad_configuration_extension_json`)
|
|
# or completely replace this variable with your own template.
|
|
matrix_etherpad_configuration_default: "{{ lookup('template', 'templates/settings.json.j2') }}"
|
|
|
|
# Your custom JSON configuration for Etherpad goes here.
|
|
# This configuration extends the default starting configuration (`matrix_etherpad_configuration_json`).
|
|
#
|
|
# You can override individual variables from the default configuration, or introduce new ones.
|
|
#
|
|
# If you need something more special, you can take full control by
|
|
# completely redefining `matrix_etherpad_configuration_json`.
|
|
#
|
|
# Example configuration extension follows:
|
|
#
|
|
# matrix_etherpad_configuration_extension_json: |
|
|
# {
|
|
# "loadTest": true,
|
|
# "commitRateLimiting": {
|
|
# "duration": 1,
|
|
# "points": 10
|
|
# }
|
|
# }
|
|
#
|
|
matrix_etherpad_configuration_extension_json: '{}'
|
|
|
|
matrix_etherpad_configuration_extension: "{{ matrix_etherpad_configuration_extension_json|from_json if matrix_etherpad_configuration_extension_json|from_json is mapping else {} }}"
|
|
|
|
# Holds the final Etherpad configuration (a combination of the default and its extension).
|
|
# You most likely don't need to touch this variable. Instead, see `matrix_etherpad_configuration_json`.
|
|
matrix_etherpad_configuration: "{{ matrix_etherpad_configuration_default|combine(matrix_etherpad_configuration_extension, recursive=True) }}"
|