matrix-synapse: Allow configuring bind addresses

This commit is contained in:
Alexander Olofsson 2023-08-17 19:04:21 +02:00
parent 43aaae9dc5
commit 44cbbb4f28
No known key found for this signature in database
GPG key ID: D439C9470CB04C73
3 changed files with 13 additions and 6 deletions

View file

@ -64,11 +64,12 @@ data:
{{- end }}
## Ports ##
{{- $bindAddresses := .Values.config.bindAddresses | default (list "::") }}
listeners:
- port: 8008
tls: false
bind_addresses: ['::']
bind_addresses: {{ toJson $bindAddresses }}
type: http
x_forwarded: true
@ -83,7 +84,7 @@ data:
- port: 9090
tls: false
bind_addresses: ['::']
bind_addresses: {{ toJson $bindAddresses }}
type: http
resources:
@ -92,7 +93,7 @@ data:
- port: 9093
tls: false
bind_addresses: ['::']
bind_addresses: {{ toJson $bindAddresses }}
type: http
resources:

View file

@ -29,11 +29,12 @@ data:
{{- end }}
worker_name: {{ $config.name }}
{{- end }}
{{- $bindAddresses := $config.bindAddresses | default $.Values.config.bindAddresses | default (list "::") }}
worker_listeners:
- port: 9090
tls: false
bind_addresses: ['::']
bind_addresses: {{ toJson $bindAddresses }}
type: http
resources:
@ -47,7 +48,7 @@ data:
- port: 9093
tls: false
bind_addresses: ['::']
bind_addresses: {{ toJson $bindAddresses }}
type: http
x_forwarded: true
@ -58,7 +59,7 @@ data:
- port: 8083
tls: false
bind_addresses: ['::']
bind_addresses: {{ toJson $bindAddresses }}
type: http
x_forwarded: true

View file

@ -128,6 +128,11 @@ config:
# verify_keys:
# "ed25519:auto": "Noi6WqcDj0QmPxCNQqgezwTlBKrfqehY1u2FyWP9uYw"
## The bind addresses to use for the default listeners
##
# bindAddresses:
# - '::'
## Extra listeners to configure.
##
extraListeners: []