Merge branch 'excalidraw' of ssh://repo.prod.meissa.de:2222/meissa/c4k-jitsi into excalidraw
This commit is contained in:
commit
24896a11f7
5 changed files with 28 additions and 9 deletions
|
@ -35,7 +35,8 @@
|
|||
(jitsi/generate-web-service)
|
||||
(jitsi/generate-etherpad-service)
|
||||
(jitsi/generate-excalidraw-backend-service)
|
||||
(jitsi/generate-deployment config)]
|
||||
(jitsi/generate-deployment config)
|
||||
(jitsi/generate-excalidraw-deployment)]
|
||||
(jitsi/generate-ingress-web config)
|
||||
(jitsi/generate-ingress-etherpad config)
|
||||
(jitsi/generate-ingress-excalidraw-backend config)
|
||||
|
|
|
@ -91,3 +91,6 @@
|
|||
(str "https://etherpad." fqdn "/p/"))
|
||||
(cm/replace-all-matching-values-by-new-value "REPLACE_EXCALIDRAW_BACKEND_URL"
|
||||
(str "https://excalidraw-backend." fqdn)))))
|
||||
|
||||
(defn-spec generate-excalidraw-deployment cp/map-or-seq? []
|
||||
(yaml/load-as-edn "jitsi/excalidraw-deployment.yaml"))
|
||||
|
|
|
@ -150,8 +150,3 @@ spec:
|
|||
key: JICOFO_AUTH_PASSWORD
|
||||
- name: TZ
|
||||
value: Europe/Berlin
|
||||
- name: excalidraw-backend
|
||||
image: domaindrivenarchitecture/excalidraw-backend
|
||||
env:
|
||||
- name: PORT
|
||||
value: "3002"
|
|
@ -8,6 +8,6 @@ spec:
|
|||
ports:
|
||||
- name: excalidraw-backend
|
||||
port: 3002
|
||||
targetPort: 3002
|
||||
targetPort: 80
|
||||
selector:
|
||||
app: jitsi
|
||||
app: excalidraw-backend
|
20
src/main/resources/jitsi/excalidraw-deployment.yaml
Normal file
20
src/main/resources/jitsi/excalidraw-deployment.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: excalidraw-backend
|
||||
name: excalidraw-backend
|
||||
spec:
|
||||
strategy:
|
||||
type: Recreate
|
||||
selector:
|
||||
matchLabels:
|
||||
app: excalidraw-backend
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: excalidraw-backend
|
||||
spec:
|
||||
containers:
|
||||
- name: excalidraw-backend
|
||||
image: domaindrivenarchitecture/excalidraw-backend
|
Loading…
Reference in a new issue