Added excalidraw #3

Merged
gec merged 13 commits from excalidraw into main 2023-09-29 08:12:01 +00:00
5 changed files with 28 additions and 9 deletions
Showing only changes of commit 24896a11f7 - Show all commits

View file

@ -35,7 +35,8 @@
(jitsi/generate-web-service) (jitsi/generate-web-service)
(jitsi/generate-etherpad-service) (jitsi/generate-etherpad-service)
(jitsi/generate-excalidraw-backend-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-web config)
(jitsi/generate-ingress-etherpad config) (jitsi/generate-ingress-etherpad config)
(jitsi/generate-ingress-excalidraw-backend config) (jitsi/generate-ingress-excalidraw-backend config)

View file

@ -91,3 +91,6 @@
(str "https://etherpad." fqdn "/p/")) (str "https://etherpad." fqdn "/p/"))
(cm/replace-all-matching-values-by-new-value "REPLACE_EXCALIDRAW_BACKEND_URL" (cm/replace-all-matching-values-by-new-value "REPLACE_EXCALIDRAW_BACKEND_URL"
(str "https://excalidraw-backend." fqdn))))) (str "https://excalidraw-backend." fqdn)))))
(defn-spec generate-excalidraw-deployment cp/map-or-seq? []
(yaml/load-as-edn "jitsi/excalidraw-deployment.yaml"))

View file

@ -149,9 +149,4 @@ spec:
name: jitsi-config name: jitsi-config
key: JICOFO_AUTH_PASSWORD key: JICOFO_AUTH_PASSWORD
- name: TZ - name: TZ
value: Europe/Berlin value: Europe/Berlin
- name: excalidraw-backend
image: domaindrivenarchitecture/excalidraw-backend
env:
- name: PORT
value: "3002"

View file

@ -8,6 +8,6 @@ spec:
ports: ports:
- name: excalidraw-backend - name: excalidraw-backend
port: 3002 port: 3002
targetPort: 3002 targetPort: 80
selector: selector:
app: jitsi app: excalidraw-backend

View 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