jitsi-meet.yaml.erb 6.1 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
34
35
36
37
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
    - name: CONFIG
      value: /var/jitsi-meet
    - name: XMPP_SERVER
      value: localhost
o's avatar
o committed
38
    image: docker.io/jitsi/prosody:latest
o's avatar
o committed
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
    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
    - name: CONFIG
      value: /var/jitsi-meet
    - name: XMPP_SERVER
      value: localhost
o's avatar
o committed
79
    image: docker.io/jitsi/web:latest
o's avatar
o committed
80
81
82
83
84
85
86
87
88
89
90
91
92
93
    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
94
95
96
97
    - name: AUTH_TYPE
      value: shibboleth
    - name: ENABLE_AUTH
      value: 1
o's avatar
o committed
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
    - 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
    - name: CONFIG
      value: /var/jitsi-meet
    - name: XMPP_SERVER
      value: localhost
mh's avatar
mh committed
124
    image: docker.io/jitsi/jicofo:latest
o's avatar
o committed
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
    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
    - name: CONFIG
      value: /var/jitsi-meet
    - name: JVB_TCP_PORT
      value: "4443"
    - name: XMPP_SERVER
      value: localhost
o's avatar
o committed
180
    image: docker.io/jitsi/jvb:latest
o's avatar
o committed
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
    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