Files
infra/apps/thelounge/statefulset.yaml
2025-05-30 00:50:05 +02:00

30 lines
719 B
YAML

apiVersion: apps/v1
kind: StatefulSet
metadata:
name: thelounge
labels:
app.kubernetes.io/name: thelounge
spec:
replicas: 1
serviceName: "thelounge"
selector:
matchLabels:
app.kubernetes.io/name: thelounge
template:
metadata:
labels:
app.kubernetes.io/name: thelounge
spec:
volumes:
- name: thelounge-data
persistentVolumeClaim:
claimName: thelounge-pvc
containers:
- name: thelounge
image: ghcr.io/thelounge/thelounge:latest
imagePullPolicy: Always
ports:
- containerPort: 9000
volumeMounts:
- name: thelounge-data
mountPath: "/var/opt/thelounge"