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 app: calendso
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: StatefulSet
metadata: metadata:
name: calendso name: calendso
namespace: calendso namespace: calendso
spec: spec:
replicas: 1 replicas: 1
serviceName: calendso
selector: selector:
matchLabels: matchLabels:
app: calendso app: calendso
@ -58,6 +59,10 @@ spec:
image: docker.cluster.fun/private/calendso:latest image: docker.cluster.fun/private/calendso:latest
imagePullPolicy: Always imagePullPolicy: Always
env: env:
- name: BASE_URL
value: "https://meet.marcusnoble.co.uk"
- name: NEXT_PUBLIC_APP_URL
value: "https://meet.marcusnoble.co.uk"
- name: NODE_ENV - name: NODE_ENV
value: production value: production
- name: POSTGRES_DB - name: POSTGRES_DB
@ -91,6 +96,18 @@ spec:
value: calendso value: calendso
- name: PGDATA - name: PGDATA
value: /var/lib/postgresql/data/calendso 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
--- ---