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

Merge branch 'master' into multi-jvb

pull/2166/head
Warren Bailey 3 лет назад
Родитель
Сommit
74ce36d5db
10 измененных файлов: 26 добавлений и 6 удалений
  1. +7
    -0
      docs/configuring-playbook-etherpad.md
  2. +2
    -0
      docs/maintenance-postgres.md
  3. +1
    -1
      roles/custom/matrix-bridge-mautrix-facebook/defaults/main.yml
  4. +1
    -1
      roles/custom/matrix-bridge-mautrix-googlechat/defaults/main.yml
  5. +1
    -1
      roles/custom/matrix-bridge-mautrix-whatsapp/defaults/main.yml
  6. +1
    -1
      roles/custom/matrix-grafana/defaults/main.yml
  7. +1
    -1
      roles/custom/matrix-jitsi/defaults/main.yml
  8. +7
    -0
      roles/custom/matrix-ma1sd/defaults/main.yml
  9. +4
    -0
      roles/custom/matrix-ma1sd/templates/systemd/matrix-ma1sd.service.j2
  10. +1
    -1
      roles/custom/matrix-ntfy/defaults/main.yml

+ 7
- 0
docs/configuring-playbook-etherpad.md Просмотреть файл

@@ -41,6 +41,13 @@ If you want to manage and remove old unused pads from Etherpad, you will first n
Then from the plugin manager page (`https://etherpad.<your-domain>/admin/plugins` or `https://dimension.<your-domain>/etherpad/admin/plugins`), install the `adminpads2` plugin. Once installed, you should have a "Manage pads" section in the Admin web-UI.


## How to use Etherpad widgets without an Integration Manager (like Dimension)

This is how it works in Element, it might work quite similar with other clients:

To integrate a standalone etherpad in a room, create your pad by visiting `https://etherpad.DOMAIN`. When the pad opens, copy the URL and send a command like this to the room: `/addwidget URL`. You will then find your integrated Etherpad within the right sidebar in the `Widgets` section.


## Set Dimension default to the self-hosted Etherpad (optional)

If you decided to install [Dimension integration manager](configuring-playbook-dimension.md) alongside Etherpad, the Dimension administrator users can configure the default URL template.


+ 2
- 0
docs/maintenance-postgres.md Просмотреть файл

@@ -80,6 +80,8 @@ This playbook can upgrade your existing Postgres setup with the following comman

ansible-playbook -i inventory/hosts setup.yml --tags=upgrade-postgres

**Warning: If you're using Borg Backup keep in mind that there is no official Postgres 15 support yet.**

**The old Postgres data directory is backed up** automatically, by renaming it to `/matrix/postgres/data-auto-upgrade-backup`.
To rename to a different path, pass some extra flags to the command above, like this: `--extra-vars="postgres_auto_upgrade_backup_data_path=/another/disk/matrix-postgres-before-upgrade"`



+ 1
- 1
roles/custom/matrix-bridge-mautrix-facebook/defaults/main.yml Просмотреть файл

@@ -7,7 +7,7 @@ matrix_mautrix_facebook_enabled: true
matrix_mautrix_facebook_container_image_self_build: false
matrix_mautrix_facebook_container_image_self_build_repo: "https://mau.dev/mautrix/facebook.git"

matrix_mautrix_facebook_version: v0.4.0
matrix_mautrix_facebook_version: v0.4.1
matrix_mautrix_facebook_docker_image: "{{ matrix_mautrix_facebook_docker_image_name_prefix }}mautrix/facebook:{{ matrix_mautrix_facebook_version }}"
matrix_mautrix_facebook_docker_image_name_prefix: "{{ 'localhost/' if matrix_mautrix_facebook_container_image_self_build else 'dock.mau.dev/' }}"
matrix_mautrix_facebook_docker_image_force_pull: "{{ matrix_mautrix_facebook_docker_image.endswith(':latest') }}"


+ 1
- 1
roles/custom/matrix-bridge-mautrix-googlechat/defaults/main.yml Просмотреть файл

@@ -8,7 +8,7 @@ matrix_mautrix_googlechat_container_image_self_build: false
matrix_mautrix_googlechat_container_image_self_build_repo: "https://github.com/mautrix/googlechat.git"
matrix_mautrix_googlechat_container_image_self_build_repo_version: "{{ 'master' if matrix_mautrix_googlechat_version == 'latest' else matrix_mautrix_googlechat_version }}"

matrix_mautrix_googlechat_version: v0.3.3
matrix_mautrix_googlechat_version: v0.4.0
# See: https://mau.dev/mautrix/googlechat/container_registry
matrix_mautrix_googlechat_docker_image: "{{ matrix_mautrix_googlechat_docker_image_name_prefix }}mautrix/googlechat:{{ matrix_mautrix_googlechat_version }}"
matrix_mautrix_googlechat_docker_image_name_prefix: "{{ 'localhost/' if matrix_mautrix_googlechat_container_image_self_build else 'dock.mau.dev/' }}"


+ 1
- 1
roles/custom/matrix-bridge-mautrix-whatsapp/defaults/main.yml Просмотреть файл

@@ -8,7 +8,7 @@ matrix_mautrix_whatsapp_container_image_self_build: false
matrix_mautrix_whatsapp_container_image_self_build_repo: "https://mau.dev/mautrix/whatsapp.git"
matrix_mautrix_whatsapp_container_image_self_build_branch: "{{ 'master' if matrix_mautrix_whatsapp_version == 'latest' else matrix_mautrix_whatsapp_version }}"

matrix_mautrix_whatsapp_version: v0.7.1
matrix_mautrix_whatsapp_version: v0.7.2
# See: https://mau.dev/mautrix/whatsapp/container_registry
matrix_mautrix_whatsapp_docker_image: "{{ matrix_mautrix_whatsapp_docker_image_name_prefix }}mautrix/whatsapp:{{ matrix_mautrix_whatsapp_version }}"
matrix_mautrix_whatsapp_docker_image_name_prefix: "{{ 'localhost/' if matrix_mautrix_whatsapp_container_image_self_build else 'dock.mau.dev/' }}"


+ 1
- 1
roles/custom/matrix-grafana/defaults/main.yml Просмотреть файл

@@ -5,7 +5,7 @@

matrix_grafana_enabled: true

matrix_grafana_version: 9.2.4
matrix_grafana_version: 9.2.5
matrix_grafana_docker_image: "{{ matrix_container_global_registry_prefix }}grafana/grafana:{{ matrix_grafana_version }}"
matrix_grafana_docker_image_force_pull: "{{ matrix_grafana_docker_image.endswith(':latest') }}"



+ 1
- 1
roles/custom/matrix-jitsi/defaults/main.yml Просмотреть файл

@@ -72,7 +72,7 @@ matrix_jitsi_jibri_recorder_password: ''

matrix_jitsi_enable_lobby: false

matrix_jitsi_version: stable-7882
matrix_jitsi_version: stable-8044
matrix_jitsi_container_image_tag: "{{ matrix_jitsi_version }}" # for backward-compatibility

matrix_jitsi_web_docker_image: "{{ matrix_container_global_registry_prefix }}jitsi/web:{{ matrix_jitsi_container_image_tag }}"


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

@@ -35,6 +35,13 @@ matrix_ma1sd_systemd_required_services_list: ['docker.service']
# List of systemd services that matrix-ma1sd.service wants
matrix_ma1sd_systemd_wanted_services_list: []

# A list of additional container networks that matrix-ma1sd would be connected to.
# The playbook does not create these networks, so make sure they already exist.
#
# Use this to expose matrix-ma1sd to another docker network, that matrix-ma1sd might have to reach for authentication (e.g. an ldap instance)
#
matrix_ma1sd_container_additional_networks: []

# Your identity server is private by default.
# To ensure maximum discovery, you can make your identity server
# also forward lookups to the central matrix.org Identity server


+ 4
- 0
roles/custom/matrix-ma1sd/templates/systemd/matrix-ma1sd.service.j2 Просмотреть файл

@@ -38,6 +38,10 @@ ExecStart={{ devture_systemd_docker_base_host_command_docker }} run --rm --name
{% endfor %}
{{ matrix_ma1sd_docker_image }}

{% for network in matrix_ma1sd_container_additional_networks %}
ExecStartPost={{ devture_systemd_docker_base_host_command_sh }} -c 'attempt=0; while [ $attempt -le 29 ]; do attempt=$(( $attempt + 1 )); if [ "`docker inspect -f {{ '{{.State.Running}}' }} matrix-ma1sd 2> /dev/null`" = "true" ]; then break; fi; sleep 1; done; {{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-ma1sd'
{% endfor %}

ExecStop=-{{ devture_systemd_docker_base_host_command_sh }} -c '{{ devture_systemd_docker_base_host_command_docker }} kill matrix-ma1sd 2>/dev/null || true'
ExecStop=-{{ devture_systemd_docker_base_host_command_sh }} -c '{{ devture_systemd_docker_base_host_command_docker }} rm matrix-ma1sd 2>/dev/null || true'
Restart=always


+ 1
- 1
roles/custom/matrix-ntfy/defaults/main.yml Просмотреть файл

@@ -7,7 +7,7 @@ matrix_ntfy_base_path: "{{ matrix_base_data_path }}/ntfy"
matrix_ntfy_config_dir_path: "{{ matrix_ntfy_base_path }}/config"
matrix_ntfy_data_path: "{{ matrix_ntfy_base_path }}/data"

matrix_ntfy_version: v1.28.0
matrix_ntfy_version: v1.29.0
matrix_ntfy_docker_image: "{{ matrix_container_global_registry_prefix }}binwiederhier/ntfy:{{ matrix_ntfy_version }}"
matrix_ntfy_docker_image_force_pull: "{{ matrix_ntfy_docker_image.endswith(':latest') }}"



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