Updated calendso

This commit is contained in:
Marcus Noble 2022-03-20 18:09:57 +00:00
parent 95db5c0ab3
commit 0616ed2438

View File

@ -37,12 +37,13 @@ spec:
app: calendso
---
apiVersion: apps/v1
kind: Deployment
kind: StatefulSet
metadata:
name: calendso
namespace: calendso
spec:
replicas: 1
serviceName: calendso
selector:
matchLabels:
app: calendso
@ -58,6 +59,10 @@ spec:
image: docker.cluster.fun/private/calendso:latest
imagePullPolicy: Always
env:
- name: BASE_URL
value: "https://meet.marcusnoble.co.uk"
- name: NEXT_PUBLIC_APP_URL
value: "https://meet.marcusnoble.co.uk"
- name: NODE_ENV
value: production
- name: POSTGRES_DB
@ -91,6 +96,18 @@ spec:
value: calendso
- name: PGDATA
value: /var/lib/postgresql/data/calendso
volumeMounts:
- name: data
mountPath: /var/lib/postgresql/data
volumeClaimTemplates:
- metadata:
name: data
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
---