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

Merge branch 'spantaleev:master' into matrix-steam-bridge

pull/4714/head
Jason LaGuidice 5 месяцев назад
committed by GitHub
Родитель
Сommit
6b1d8efbd9
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: B5690EEEBB952194
7 измененных файлов: 24 добавлений и 8 удалений
  1. +1
    -1
      .github/workflows/matrix.yml
  2. +1
    -1
      roles/custom/matrix-bridge-mautrix-signal/defaults/main.yml
  3. +1
    -1
      roles/custom/matrix-bridge-mautrix-whatsapp/defaults/main.yml
  4. +1
    -1
      roles/custom/matrix-client-element/defaults/main.yml
  5. +16
    -0
      roles/custom/matrix-synapse/defaults/main.yml
  6. +3
    -3
      roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2
  7. +1
    -1
      roles/custom/matrix-synapse/templates/synapse/worker.yaml.j2

+ 1
- 1
.github/workflows/matrix.yml Просмотреть файл

@@ -26,7 +26,7 @@ jobs:
uses: actions/checkout@v5

- name: Run ansible-lint
uses: ansible/ansible-lint@v25.8.2
uses: ansible/ansible-lint@v25.9.0
with:
args: "roles/custom"
setup_python: "true"


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

@@ -25,7 +25,7 @@ matrix_mautrix_signal_container_image_self_build_repo: "https://mau.dev/mautrix/
matrix_mautrix_signal_container_image_self_build_branch: "{{ 'main' if matrix_mautrix_signal_version == 'latest' else matrix_mautrix_signal_version }}"

# renovate: datasource=docker depName=dock.mau.dev/mautrix/signal
matrix_mautrix_signal_version: v0.8.6
matrix_mautrix_signal_version: v0.8.7

# See: https://mau.dev/mautrix/signal/container_registry
matrix_mautrix_signal_docker_image: "{{ matrix_mautrix_signal_docker_image_registry_prefix }}mautrix/signal:{{ matrix_mautrix_signal_docker_image_tag }}"


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

@@ -28,7 +28,7 @@ matrix_mautrix_whatsapp_container_image_self_build_repo: "https://mau.dev/mautri
matrix_mautrix_whatsapp_container_image_self_build_branch: "{{ 'master' if matrix_mautrix_whatsapp_version == 'latest' else matrix_mautrix_whatsapp_version }}"

# renovate: datasource=docker depName=dock.mau.dev/mautrix/whatsapp
matrix_mautrix_whatsapp_version: v0.12.4
matrix_mautrix_whatsapp_version: v0.12.5

# See: https://mau.dev/mautrix/whatsapp/container_registry
matrix_mautrix_whatsapp_docker_image: "{{ matrix_mautrix_whatsapp_docker_image_registry_prefix }}mautrix/whatsapp:{{ matrix_mautrix_whatsapp_version }}"


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

@@ -29,7 +29,7 @@ matrix_client_element_container_image_self_build_repo: "https://github.com/eleme
matrix_client_element_container_image_self_build_low_memory_system_patch_enabled: "{{ ansible_memtotal_mb < 4096 }}"

# renovate: datasource=docker depName=ghcr.io/element-hq/element-web
matrix_client_element_version: v1.11.111
matrix_client_element_version: v1.11.112

matrix_client_element_docker_image: "{{ matrix_client_element_docker_image_registry_prefix }}element-hq/element-web:{{ matrix_client_element_version }}"
matrix_client_element_docker_image_registry_prefix: "{{ 'localhost/' if matrix_client_element_container_image_self_build else matrix_client_element_docker_image_registry_prefix_upstream }}"


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

@@ -135,10 +135,22 @@ matrix_synapse_ext_s3_storage_provider_data_path: "{{ matrix_synapse_ext_s3_stor

matrix_synapse_container_client_api_port: 8008

# Controls the `x_forwarded` setting for the "Insecure HTTP listener (Client API)".
# We default this to `true`, because such insecure HTTP listeners are most likely behind a reverse-proxy (that handles TLS).
matrix_synapse_container_client_api_x_forwarded: true

matrix_synapse_container_federation_api_tls_port: 8448

# Controls the `x_forwarded` setting for the "TLS-enabled federation listener".
# We default this to `false`, because TLS-enabled listeners are likely to be exposed directly (instead of being behind a reverse-proxy).
matrix_synapse_container_federation_api_tls_x_forwarded: false

matrix_synapse_container_federation_api_plain_port: 8048

# Controls the `x_forwarded` setting for the "Insecure federation listener".
# We default this to `true`, because such insecure HTTP listeners are most likely behind a reverse-proxy (that handles TLS).
matrix_synapse_container_federation_api_plain_x_forwarded: true

# The base container network. It will be auto-created by this role if it doesn't exist already.
matrix_synapse_container_network: ''

@@ -838,6 +850,10 @@ matrix_synapse_manhole_enabled: false
# Enable support for Synapse workers
matrix_synapse_workers_enabled: false

# Controls the `x_forwarded` setting for the main `http` listener for Synapse workers.
# We default this to `true`, because such insecure HTTP listeners are most likely behind a reverse-proxy (that handles TLS).
matrix_synapse_worker_listeners_http_main_x_forwarded: true

# Specifies worker configuration that should be used when workers are enabled.
#
# The possible values (as seen in `matrix_synapse_workers_presets`) are:


+ 3
- 3
roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2 Просмотреть файл

@@ -298,7 +298,7 @@ listeners:
tls: true
bind_addresses: ['::']
type: http
x_forwarded: false
x_forwarded: {{ matrix_synapse_container_federation_api_tls_x_forwarded | to_json }}

resources:
- names: {{ matrix_synapse_federation_listener_resource_names|to_json }}
@@ -311,7 +311,7 @@ listeners:
tls: false
bind_addresses: ['::']
type: http
x_forwarded: true
x_forwarded: {{ matrix_synapse_container_client_api_x_forwarded | to_json }}

resources:
- names: {{ matrix_synapse_http_listener_resource_names|to_json }}
@@ -324,7 +324,7 @@ listeners:
tls: false
bind_addresses: ['::']
type: http
x_forwarded: true
x_forwarded: {{ matrix_synapse_container_federation_api_plain_x_forwarded | to_json }}

resources:
- names: {{ matrix_synapse_federation_listener_resource_names|to_json }}


+ 1
- 1
roles/custom/matrix-synapse/templates/synapse/worker.yaml.j2 Просмотреть файл

@@ -46,7 +46,7 @@ worker_listeners:
{% if http_resources|length > 0 %}
- type: http
bind_addresses: ['::']
x_forwarded: true
x_forwarded: {{ matrix_synapse_worker_listeners_http_main_x_forwarded | to_json }}
port: {{ matrix_synapse_worker_details.port }}
resources:
- names: {{ http_resources|to_json }}


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