mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-21 15:06:50 +00:00
Merge pull request #4492 from nextcloud/enh/noid/allow-adjust-talk-max-stream
helm chart - allow to adjust TALK_MAX_STREAM_BITRATE
This commit is contained in:
commit
638155759a
5 changed files with 21 additions and 2 deletions
|
|
@ -56,6 +56,10 @@ TURN_CONF
|
||||||
# Remove empty lines so that the config is not invalid
|
# Remove empty lines so that the config is not invalid
|
||||||
sed -i '/""/d' /conf/eturnal.yml
|
sed -i '/""/d' /conf/eturnal.yml
|
||||||
|
|
||||||
|
if [ -z "$TALK_MAX_STREAM_BITRATE" ]; then
|
||||||
|
TALK_MAX_STREAM_BITRATE=1048576
|
||||||
|
fi
|
||||||
|
|
||||||
# Signling
|
# Signling
|
||||||
cat << SIGNALING_CONF > "/conf/signaling.conf"
|
cat << SIGNALING_CONF > "/conf/signaling.conf"
|
||||||
[http]
|
[http]
|
||||||
|
|
@ -80,6 +84,7 @@ connectionsperhost = 8
|
||||||
[backend-1]
|
[backend-1]
|
||||||
url = https://${NC_DOMAIN}
|
url = https://${NC_DOMAIN}
|
||||||
secret = ${SIGNALING_SECRET}
|
secret = ${SIGNALING_SECRET}
|
||||||
|
maxstreambitrate = ${TALK_MAX_STREAM_BITRATE}
|
||||||
|
|
||||||
[nats]
|
[nats]
|
||||||
url = nats://127.0.0.1:4222
|
url = nats://127.0.0.1:4222
|
||||||
|
|
@ -87,6 +92,7 @@ url = nats://127.0.0.1:4222
|
||||||
[mcu]
|
[mcu]
|
||||||
type = janus
|
type = janus
|
||||||
url = ws://127.0.0.1:8188
|
url = ws://127.0.0.1:8188
|
||||||
|
maxstreambitrate = ${TALK_MAX_STREAM_BITRATE}
|
||||||
SIGNALING_CONF
|
SIGNALING_CONF
|
||||||
|
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
name: nextcloud-aio-helm-chart
|
name: nextcloud-aio-helm-chart
|
||||||
description: A generated Helm Chart for Nextcloud AIO from Skippbox Kompose
|
description: A generated Helm Chart for Nextcloud AIO from Skippbox Kompose
|
||||||
version: 8.1.0
|
version: 8.2.0-dev
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
keywords:
|
keywords:
|
||||||
- latest
|
- latest
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,8 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- env:
|
- env:
|
||||||
|
- name: TALK_MAX_STREAM_BITRATE
|
||||||
|
value: "{{ .Values.TALK_MAX_STREAM_BITRATE }}"
|
||||||
- name: INTERNAL_SECRET
|
- name: INTERNAL_SECRET
|
||||||
value: "{{ .Values.TALK_INTERNAL_SECRET }}"
|
value: "{{ .Values.TALK_INTERNAL_SECRET }}"
|
||||||
- name: NC_DOMAIN
|
- name: NC_DOMAIN
|
||||||
|
|
@ -37,7 +39,8 @@ spec:
|
||||||
value: "{{ .Values.TURN_SECRET }}"
|
value: "{{ .Values.TURN_SECRET }}"
|
||||||
- name: TZ
|
- name: TZ
|
||||||
value: "{{ .Values.TIMEZONE }}"
|
value: "{{ .Values.TIMEZONE }}"
|
||||||
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-talk:20240404_082330-latest"
|
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-talk:develop"
|
||||||
|
imagePullPolicy: Always
|
||||||
name: nextcloud-aio-talk
|
name: nextcloud-aio-talk
|
||||||
ports:
|
ports:
|
||||||
- containerPort: {{ .Values.TALK_PORT }}
|
- containerPort: {{ .Values.TALK_PORT }}
|
||||||
|
|
|
||||||
|
|
@ -300,6 +300,14 @@ EOL
|
||||||
# shellcheck disable=SC1083
|
# shellcheck disable=SC1083
|
||||||
find ./ -name '*apache-deployment.yaml' -exec sed -i "/^.*\- env:/r /tmp/additional-apache.config" \{} \;
|
find ./ -name '*apache-deployment.yaml' -exec sed -i "/^.*\- env:/r /tmp/additional-apache.config" \{} \;
|
||||||
|
|
||||||
|
# Additional config
|
||||||
|
cat << EOL > /tmp/additional-talk.config
|
||||||
|
- name: TALK_MAX_STREAM_BITRATE
|
||||||
|
value: "{{ .Values.TALK_MAX_STREAM_BITRATE }}"
|
||||||
|
EOL
|
||||||
|
# shellcheck disable=SC1083
|
||||||
|
find ./ -name '*talk-deployment.yaml' -exec sed -i "/^.*\- env:/r /tmp/additional-talk.config" \{} \;
|
||||||
|
|
||||||
# shellcheck disable=SC1083
|
# shellcheck disable=SC1083
|
||||||
find ./ -name '*deployment.yaml' -exec sed -i '/image: nextcloud/s/$/"/;s|image: nextcloud/|image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/|;' \{} \;
|
find ./ -name '*deployment.yaml' -exec sed -i '/image: nextcloud/s/$/"/;s|image: nextcloud/|image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/|;' \{} \;
|
||||||
|
|
||||||
|
|
@ -356,6 +364,7 @@ SMTP_NAME: # (empty by default): The username for the authentication.
|
||||||
SMTP_PASSWORD: # (empty by default): The password for the authentication.
|
SMTP_PASSWORD: # (empty by default): The password for the authentication.
|
||||||
MAIL_FROM_ADDRESS: # (not set by default): Set the local-part for the 'from' field in the emails sent by Nextcloud.
|
MAIL_FROM_ADDRESS: # (not set by default): Set the local-part for the 'from' field in the emails sent by Nextcloud.
|
||||||
MAIL_DOMAIN: # (not set by default): Set a different domain for the emails than the domain where Nextcloud is installed.
|
MAIL_DOMAIN: # (not set by default): Set a different domain for the emails than the domain where Nextcloud is installed.
|
||||||
|
TALK_MAX_STREAM_BITRATE: "1048576" # This allows to adjust the max stream bitrate of the talk hpb
|
||||||
|
|
||||||
IMAGE_MIRROR_PREFIX: # Setting this allows you to pull Nextcloud images through a mirror registry.
|
IMAGE_MIRROR_PREFIX: # Setting this allows you to pull Nextcloud images through a mirror registry.
|
||||||
NEXTCLOUD_IMAGE_ORG: nextcloud # Setting this allows you to change the image's org name in case a different image needs to be used e.g. for compliance reasons.
|
NEXTCLOUD_IMAGE_ORG: nextcloud # Setting this allows you to change the image's org name in case a different image needs to be used e.g. for compliance reasons.
|
||||||
|
|
|
||||||
|
|
@ -61,6 +61,7 @@ SMTP_NAME: # (empty by default): The username for the authentication.
|
||||||
SMTP_PASSWORD: # (empty by default): The password for the authentication.
|
SMTP_PASSWORD: # (empty by default): The password for the authentication.
|
||||||
MAIL_FROM_ADDRESS: # (not set by default): Set the local-part for the 'from' field in the emails sent by Nextcloud.
|
MAIL_FROM_ADDRESS: # (not set by default): Set the local-part for the 'from' field in the emails sent by Nextcloud.
|
||||||
MAIL_DOMAIN: # (not set by default): Set a different domain for the emails than the domain where Nextcloud is installed.
|
MAIL_DOMAIN: # (not set by default): Set a different domain for the emails than the domain where Nextcloud is installed.
|
||||||
|
TALK_MAX_STREAM_BITRATE: "1048576" # This allows to adjust the max stream bitrate of the talk hpb
|
||||||
|
|
||||||
IMAGE_MIRROR_PREFIX: # Setting this allows you to pull Nextcloud images through a mirror registry.
|
IMAGE_MIRROR_PREFIX: # Setting this allows you to pull Nextcloud images through a mirror registry.
|
||||||
NEXTCLOUD_IMAGE_ORG: nextcloud # Setting this allows you to change the image's org name in case a different image needs to be used e.g. for compliance reasons.
|
NEXTCLOUD_IMAGE_ORG: nextcloud # Setting this allows you to change the image's org name in case a different image needs to be used e.g. for compliance reasons.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue