jitsi-meet.yaml.erb 8.31 KB
Newer Older
o's avatar
o committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
apiVersion: v1
kind: Pod
metadata:
  labels:
    app: <%= @sanitised_con_name %>
  name: <%= @sanitised_con_name %>
spec:
  containers:
  - env:
    - name: container
      value: podman
    - name: ENABLE_GUESTS
      value: 1
    - name: JVB_AUTH_PASSWORD
      value: "<%= scope.call_function('trocla',['JVB_AUTH_PASSWORD_'+@name,'plain', length: 32]) %>"
    - name: JICOFO_AUTH_PASSWORD
      value: "<%= scope.call_function('trocla',['JICOFO_AUTH_PASSWORD'+@name,'plain', length: 32]) %>"
    - name: JICOFO_COMPONENT_SECRET
      value: "<%= scope.call_function('trocla',['JICOFO_COMPONENT_SECRET'+@name,'plain', length: 32]) %>"
    - name: XMPP_BOSH_URL_BASE
      value: http://localhost:5280
    - name: JVB_TCP_HARVESTER_DISABLED
      value: "false"
    - name: HTTP_PORT
      value: "8000"
    - name: DISABLE_HTTPS
      value: 1
    - name: ENABLE_HTTP_REDIRECT
      value: 0
    - name: DOCKER_HOST_ADDRESS
      value: "<%= @configuration['public_ip'] %>"
    - name: TZ
      value: Europe/Amsterdam
mh's avatar
mh committed
34
35
36
37
    - name: XMPP_AUTH_DOMAIN
      value: auth.meet.jitsi
    - name: JVB_BREWERY_MUC
      value: jvbbrewery
o's avatar
o committed
38
39
    - name: CONFIG
      value: /var/jitsi-meet
mh's avatar
mh committed
40
41
42
43
44
45
46
47
48
49
    - name: XMPP_MUC_DOMAIN
      value: muc.meet.jitsi
    - name: XMPP_INTERNAL_MUC_DOMAIN
      value: internal-muc.meet.jitsi
    - name: JVB_TCP_PORT
      value: "4443"
    - name: JIBRI_STRIP_DOMAIN_JID
      value: muc
    - name: XMPP_DOMAIN
      value: meet.jitsi
o's avatar
o committed
50
51
    - name: XMPP_SERVER
      value: localhost
mh's avatar
mh committed
52
53
54
55
56
57
58
59
    - name: XMPP_GUEST_DOMAIN
      value: guest.meet.jitsi
    - name: JVB_PORT
      value: "10000"
    - name: JVB_AUTH_USER
      value: jvb
    - name: JICOFO_AUTH_USER
      value: focus
o's avatar
o committed
60
    image: docker.io/jitsi/prosody:latest
o's avatar
o committed
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
    name: jitsi-meet-prosody.meet.jitsi
    resources: {}
    securityContext:
      allowPrivilegeEscalation: false
      capabilities: {}
      privileged: false
      readOnlyRootFilesystem: false
    volumeMounts:
    - mountPath: /config
      name: jitsi-meet-cfg-prosody
    workingDir: /
  - env:
    - name: container
      value: podman
    - name: ENABLE_GUESTS
      value: 1
    - name: JVB_AUTH_PASSWORD
      value: "<%= scope.call_function('trocla',['JVB_AUTH_PASSWORD'+@name,'plain', length: 32]) %>"
    - name: JICOFO_AUTH_PASSWORD
      value: "<%= scope.call_function('trocla',['JICOFO_AUTH_PASSWORD'+@name,'plain', length: 32]) %>"
    - name: JICOFO_COMPONENT_SECRET
      value: "<%= scope.call_function('trocla',['JICOFO_COMPONENT_SECRET'+@name,'plain', length: 32]) %>"
    - name: XMPP_BOSH_URL_BASE
      value: http://localhost:5280
    - name: JVB_TCP_HARVESTER_DISABLED
      value: "false"
    - name: HTTP_PORT
      value: "8000"
    - name: DISABLE_HTTPS
      value: 1
    - name: ENABLE_HTTP_REDIRECT
      value: 0
    - name: DOCKER_HOST_ADDRESS
      value: "<%= @configuration['public_ip'] %>"
    - name: TZ
      value: Europe/Amsterdam
mh's avatar
mh committed
97
98
99
100
    - name: XMPP_AUTH_DOMAIN
      value: auth.meet.jitsi
    - name: JVB_BREWERY_MUC
      value: jvbbrewery
o's avatar
o committed
101
102
    - name: CONFIG
      value: /var/jitsi-meet
mh's avatar
mh committed
103
104
105
106
107
108
109
110
111
112
    - name: XMPP_MUC_DOMAIN
      value: muc.meet.jitsi
    - name: XMPP_INTERNAL_MUC_DOMAIN
      value: internal-muc.meet.jitsi
    - name: JVB_TCP_PORT
      value: "4443"
    - name: JIBRI_STRIP_DOMAIN_JID
      value: muc
    - name: XMPP_DOMAIN
      value: meet.jitsi
o's avatar
o committed
113
114
    - name: XMPP_SERVER
      value: localhost
mh's avatar
mh committed
115
116
117
118
119
120
121
122
    - name: XMPP_GUEST_DOMAIN
      value: guest.meet.jitsi
    - name: JVB_PORT
      value: "10000"
    - name: JVB_AUTH_USER
      value: jvb
    - name: JICOFO_AUTH_USER
      value: focus
mh's avatar
mh committed
123
    image: docker.io/jitsi/web:latest
o's avatar
o committed
124
125
126
127
128
129
130
131
132
133
134
135
136
137
    name: jitsi-meet-web.meet.jitsi
    resources: {}
    securityContext:
      allowPrivilegeEscalation: false
      capabilities: {}
      privileged: false
      readOnlyRootFilesystem: false
    volumeMounts:
    - mountPath: /config
      name: jitsi-meet-cfg-web
    workingDir: /
  - env:
    - name: container
      value: podman
mh's avatar
mh committed
138
139
140
141
    - name: AUTH_TYPE
      value: shibboleth
    - name: ENABLE_AUTH
      value: 1
o's avatar
o committed
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
    - name: ENABLE_GUESTS
      value: 1
    - name: JVB_AUTH_PASSWORD
      value: "<%= scope.call_function('trocla',['JVB_AUTH_PASSWORD_'+@name,'plain', length: 32]) %>"
    - name: JICOFO_AUTH_PASSWORD
      value: "<%= scope.call_function('trocla',['JICOFO_AUTH_PASSWORD'+@name,'plain', length: 32]) %>"
    - name: JICOFO_COMPONENT_SECRET
      value: "<%= scope.call_function('trocla',['JICOFO_COMPONENT_SECRET'+@name,'plain', length: 32]) %>"
    - name: XMPP_BOSH_URL_BASE
      value: http://localhost:5280
    - name: JVB_TCP_HARVESTER_DISABLED
      value: "false"
    - name: HTTP_PORT
      value: "8000"
    - name: DISABLE_HTTPS
      value: 1
    - name: ENABLE_HTTP_REDIRECT
      value: 0
    - name: DOCKER_HOST_ADDRESS
      value: "<%= @configuration['public_ip'] %>"
    - name: TZ
      value: Europe/Amsterdam
mh's avatar
mh committed
164
165
166
167
    - name: XMPP_AUTH_DOMAIN
      value: auth.meet.jitsi
    - name: JVB_BREWERY_MUC
      value: jvbbrewery
o's avatar
o committed
168
169
    - name: CONFIG
      value: /var/jitsi-meet
mh's avatar
mh committed
170
171
172
173
174
175
176
177
178
179
    - name: XMPP_MUC_DOMAIN
      value: muc.meet.jitsi
    - name: XMPP_INTERNAL_MUC_DOMAIN
      value: internal-muc.meet.jitsi
    - name: JVB_TCP_PORT
      value: "4443"
    - name: JIBRI_STRIP_DOMAIN_JID
      value: muc
    - name: XMPP_DOMAIN
      value: meet.jitsi
o's avatar
o committed
180
181
    - name: XMPP_SERVER
      value: localhost
mh's avatar
mh committed
182
183
184
185
186
187
188
189
    - name: XMPP_GUEST_DOMAIN
      value: guest.meet.jitsi
    - name: JVB_PORT
      value: "10000"
    - name: JVB_AUTH_USER
      value: jvb
    - name: JICOFO_AUTH_USER
      value: focus
mh's avatar
mh committed
190
    image: docker.io/jitsi/jicofo:latest
o's avatar
o committed
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
    name: jitsi-meet-jicofo.meet.jitsi
    ports:
    - containerPort: 10000
      hostPort: 10000
      protocol: UDP
    - containerPort: 4443
      hostPort: 4443
      protocol: TCP
    - containerPort: 80
      hostPort: 8000
      protocol: TCP
    - containerPort: 8888
      hostPort: 8888
      protocol: TCP
    resources: {}
    securityContext:
      allowPrivilegeEscalation: false
      capabilities: {}
      privileged: false
      readOnlyRootFilesystem: false
    volumeMounts:
    - mountPath: /config
      name: jitsi-meet-cfg-jicofo
    workingDir: /
  - env:
    - name: container
      value: podman
    - name: ENABLE_GUESTS
      value: 1
    - name: JVB_AUTH_PASSWORD
      value: "<%= scope.call_function('trocla',['JVB_AUTH_PASSWORD_'+@name,'plain', length: 32]) %>"
    - name: JICOFO_AUTH_PASSWORD
      value: "<%= scope.call_function('trocla',['JICOFO_AUTH_PASSWORD'+@name,'plain', length: 32]) %>"
    - name: JICOFO_COMPONENT_SECRET
      value: "<%= scope.call_function('trocla',['JICOFO_COMPONENT_SECRET'+@name,'plain', length: 32]) %>"
    - name: XMPP_BOSH_URL_BASE
      value: http://localhost:5280
    - name: JVB_TCP_HARVESTER_DISABLED
      value: "false"
    - name: HTTP_PORT
      value: "8000"
    - name: DISABLE_HTTPS
      value: 1
    - name: ENABLE_HTTP_REDIRECT
      value: 0
    - name: DOCKER_HOST_ADDRESS
      value: "<%= @configuration['public_ip'] %>"
    - name: TZ
      value: Europe/Amsterdam
mh's avatar
mh committed
240
241
242
243
    - name: XMPP_AUTH_DOMAIN
      value: auth.meet.jitsi
    - name: JVB_BREWERY_MUC
      value: jvbbrewery
o's avatar
o committed
244
245
    - name: CONFIG
      value: /var/jitsi-meet
mh's avatar
mh committed
246
247
248
249
    - name: XMPP_MUC_DOMAIN
      value: muc.meet.jitsi
    - name: XMPP_INTERNAL_MUC_DOMAIN
      value: internal-muc.meet.jitsi
o's avatar
o committed
250
251
    - name: JVB_TCP_PORT
      value: "4443"
mh's avatar
mh committed
252
253
254
255
    - name: JIBRI_STRIP_DOMAIN_JID
      value: muc
    - name: XMPP_DOMAIN
      value: meet.jitsi
o's avatar
o committed
256
257
    - name: XMPP_SERVER
      value: localhost
mh's avatar
mh committed
258
259
260
261
262
263
264
265
    - name: XMPP_GUEST_DOMAIN
      value: guest.meet.jitsi
    - name: JVB_PORT
      value: "10000"
    - name: JVB_AUTH_USER
      value: jvb
    - name: JICOFO_AUTH_USER
      value: focus
o's avatar
o committed
266
    image: docker.io/jitsi/jvb:latest
o's avatar
o committed
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
    name: jitsi-meet-jvb.meet.jitsi
    resources: {}
    securityContext:
      allowPrivilegeEscalation: false
      capabilities: {}
      privileged: false
      readOnlyRootFilesystem: false
    volumeMounts:
    - mountPath: /config
      name: jitsi-meet-cfg-jvb
    workingDir: /
  volumes:
  - hostPath:
      path: <%= @real_homedir %>/data/jvb
      type: Directory
    name: jitsi-meet-cfg-jvb
  - hostPath:
      path: <%= @real_homedir %>/data/prosody
      type: Directory
    name: jitsi-meet-cfg-prosody
  - hostPath:
      path: <%= @real_homedir %>/data/jicofo
      type: Directory
    name: jitsi-meet-cfg-jicofo
  - hostPath:
      path: <%= @real_homedir %>/data/web
      type: Directory
    name: jitsi-meet-cfg-web