Reset git history for making manifests public

This commit is contained in:
2026-06-01 10:13:06 +02:00
commit 0ca56d9520
403 changed files with 41985 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
apiVersion: apps/v1
kind: StatefulSet
metadata:
namespace: immich
name: immich-postgresql
spec:
replicas: 1
serviceName: immich-postgresql
selector:
matchLabels:
app: immich-postgresql
template:
metadata:
labels:
app: immich-postgresql
spec:
restartPolicy: Always
terminationGracePeriodSeconds: 60
containers:
- name: immich-postgresql
image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0
resources:
requests:
memory: "256Mi"
cpu: "100m"
limits:
memory: "1Gi"
cpu: "500m"
ports:
- containerPort: 5432
volumeMounts:
- name: immich-postgresql-immich
mountPath: /var/lib/postgresql/pgdata
env:
- name: POSTGRES_PASSWORD
valueFrom:
secretKeyRef:
name: immich-secrets
key: db_password
- name: POSTGRES_USER
valueFrom:
secretKeyRef:
name: immich-secrets
key: db_user
- name: POSTGRES_DB
valueFrom:
secretKeyRef:
name: immich-secrets
key: db_name
volumes:
- name: immich-postgresql-immich
persistentVolumeClaim:
claimName: immich-postgresql-pvc

View File

@@ -0,0 +1,12 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
namespace: immich
name: immich-postgresql-pvc
spec:
accessModes:
- ReadWriteOnce
storageClassName: longhorn-static
resources:
requests:
storage: 5Gi

View File

@@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: immich-postgresql
namespace: immich
spec:
selector:
app: immich-postgresql
type: ClusterIP
ports:
- name: immich-postgresql-port
protocol: TCP
port: 5432
targetPort: 5432