Added ModeratorElection App

This commit is contained in:
Mirco 2024-06-28 10:18:38 +02:00
parent 5dc575edaf
commit 665b295068
3 changed files with 8 additions and 5 deletions

View file

@ -58,7 +58,7 @@
(ing/generate-ingress-and-cert (ing/generate-ingress-and-cert
(merge (merge
{:service-name "meapp-fullstack" {:service-name "meapp-fullstack"
:service-port 6333 :service-port 80
:fqdns [(str "meapp-fullstack." (:fqdn config))]} :fqdns [(str "meapp-fullstack." (:fqdn config))]}
config))) config)))
@ -94,6 +94,7 @@
(cm/replace-all-matching "REPLACE_JITSI_FQDN" fqdn) (cm/replace-all-matching "REPLACE_JITSI_FQDN" fqdn)
(cm/replace-all-matching "REPLACE_ETHERPAD_URL" (cm/replace-all-matching "REPLACE_ETHERPAD_URL"
(str "https://etherpad." fqdn "/p/")) (str "https://etherpad." fqdn "/p/"))
(cm/replace-all-matching "REPLACE_EXCALIDRAW_BACKEND_URL" (cm/replace-all-matching "REPLACE_EXCALIDRAW_BACKEND_URL"
(str "https://excalidraw-backend." fqdn))))) (str "https://excalidraw-backend." fqdn)))))

View file

@ -5,6 +5,7 @@ metadata:
app: meapp-fullstack app: meapp-fullstack
name: meapp-fullstack name: meapp-fullstack
spec: spec:
replicas: 1
strategy: strategy:
type: Recreate type: Recreate
selector: selector:
@ -18,6 +19,7 @@ spec:
containers: containers:
- name: meapp-fullstack - name: meapp-fullstack
image: domaindrivenarchitecture/moderator-election-vaadin_fullstack image: domaindrivenarchitecture/moderator-election-vaadin_fullstack
imagePullPolicy: IfNotPresent
env: env:
- name: MEMBERNAMES - name: MEMBERNAMES
value: Micha,Ansgar,Clemens,Mattis,Eric,Mirco value: "Micha,Ansgar,Clemens,Mattis,Eric,Mirco"

View file

@ -6,8 +6,8 @@ metadata:
name: meapp-fullstack name: meapp-fullstack
spec: spec:
ports: ports:
- name: meapp-fullstack - name: "http"
port: 6333 port: 80
targetPort: 8080 targetPort: 8080
selector: selector:
app: meapp-fullstack app: meapp-fullstack