diff options
author | Christian Pointner <equinox@spreadspace.org> | 2021-07-14 01:16:07 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2021-07-14 01:16:07 +0200 |
commit | eb148a3408331b71284c01c6cea52938de6cc5ea (patch) | |
tree | 2622b516fdbf7529a705ad42fa77e6f5400813de /roles/apps/jitsi/meet/templates/pod-spec.yml.j2 | |
parent | add testhosts for elevate obs workstations (diff) |
jitsi/meet: add support for stream-ui from datacop
Diffstat (limited to 'roles/apps/jitsi/meet/templates/pod-spec.yml.j2')
-rw-r--r-- | roles/apps/jitsi/meet/templates/pod-spec.yml.j2 | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/roles/apps/jitsi/meet/templates/pod-spec.yml.j2 b/roles/apps/jitsi/meet/templates/pod-spec.yml.j2 index 0d6905a0..95f49982 100644 --- a/roles/apps/jitsi/meet/templates/pod-spec.yml.j2 +++ b/roles/apps/jitsi/meet/templates/pod-spec.yml.j2 @@ -67,6 +67,12 @@ containers: subPath: prosody/cont-init.sh mountPath: /etc/cont-init.d/99-k8s readOnly: yes +{% if jitsi_meet_streamui is defined %} + - name: scripts + subPath: prosody/streamui.sh + mountPath: /etc/cont-init.d/90-streamui + readOnly: yes +{% endif %} - name: config subPath: prosody mountPath: /config @@ -128,6 +134,12 @@ containers: hostPort: {{ jitsi_meet_http_port }} hostIP: 127.0.0.1 volumeMounts: +{% if jitsi_meet_streamui is defined %} + - name: scripts + subPath: web/streamui.sh + mountPath: /etc/cont-init.d/90-streamui + readOnly: yes +{% endif %} - name: config subPath: web mountPath: /config @@ -210,6 +222,21 @@ containers: - name: TZ value: {{ jitsi_meet_timezone }} +{% if jitsi_meet_streamui is defined %} +- name: stream-ui + image: "get.more.failed.systems/public_projects/jitsi-stream-ui:{{ jitsi_meet_streamui.image_tag }}" + resources: + requests: + memory: "256Mi" + limits: + memory: "1Gi" + ports: + - protocol: TCP + containerPort: 3000 + hostPort: {{ jitsi_meet_streamui.http_port }} + hostIP: 127.0.0.1 + +{% endif %} volumes: - name: scripts hostPath: |