move excalidraw to dedicated deployment
This commit is contained in:
parent
934eda5b35
commit
807c15cf92
5 changed files with 28 additions and 9 deletions
|
@ -34,7 +34,8 @@
|
|||
(jitsi/generate-jvb-service)
|
||||
(jitsi/generate-web-service)
|
||||
(jitsi/generate-etherpad-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)
|
||||
|
|
|
@ -88,3 +88,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"))
|
||||
|
|
|
@ -149,9 +149,4 @@ spec:
|
|||
name: jitsi-config
|
||||
key: JICOFO_AUTH_PASSWORD
|
||||
- name: TZ
|
||||
value: Europe/Berlin
|
||||
- name: excalidraw-backend
|
||||
image: domaindrivenarchitecture/excalidraw-backend
|
||||
env:
|
||||
- name: PORT
|
||||
value: "3002"
|
||||
value: Europe/Berlin
|
|
@ -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