Просмотр исходного кода

Merge pull request #876 from marcquark/fix_etherpad_binding

Fix etherpad binding
pull/879/head
Slavi Pantaleev 5 лет назад
committed by GitHub
Родитель
Сommit
eff2b30c96
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: 4AEE18F83AFDEB23
2 измененных файлов: 9 добавлений и 2 удалений
  1. +2
    -0
      group_vars/matrix_servers
  2. +7
    -2
      roles/matrix-etherpad/defaults/main.yml

+ 2
- 0
group_vars/matrix_servers Просмотреть файл

@@ -765,6 +765,8 @@ matrix_dimension_database_password: "{{ matrix_synapse_macaroon_secret_key | pas

matrix_etherpad_enabled: false

matrix_etherpad_container_http_host_bind_port: "{{ '' if matrix_nginx_proxy_enabled else '127.0.0.1:9001' }}"

matrix_etherpad_systemd_required_services_list: |
{{
['docker.service']


+ 7
- 2
roles/matrix-etherpad/defaults/main.yml Просмотреть файл

@@ -19,10 +19,15 @@ 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: '9001'
matrix_etherpad_container_http_host_bind_port: ''

# A list of extra arguments to pass to the container
matrix_etherpad_container_extra_arguments: []
#
# 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'



Загрузка…
Отмена
Сохранить