running cluster with immich, photoprism and authentik

This commit is contained in:
2025-12-29 14:50:44 +01:00
parent 35b7b7b4da
commit 1ab9418379
16 changed files with 499 additions and 26 deletions

Binary file not shown.

View File

@@ -19,8 +19,8 @@ spec:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
nfs:
server: 192.168.178.132
path: /slowData/gitea/repos
server: 192.168.178.166
path: /export/fastData/gitea/repos
---
apiVersion: v1
kind: PersistentVolumeClaim
@@ -49,8 +49,8 @@ spec:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Retain
nfs:
server: 192.168.178.132
path: /slowData/gitea/postgres
server: 192.168.178.166
path: /export/fastData/gitea/postgres
---
apiVersion: v1
kind: PersistentVolumeClaim
@@ -97,6 +97,10 @@ spec:
volumeMounts:
- name: postgres-storage
mountPath: /var/lib/postgresql/data
securityContext:
runAsUser: 1001
runAsGroup: 1000
# fsGroup: 1000
volumes:
- name: postgres-storage
persistentVolumeClaim:
@@ -152,12 +156,26 @@ spec:
value: gitea
- name: GITEA__database__PASSWD
value: giteapassword
- name: GITEA__server__ROOT_URL
value: "https://git.henryathome.home64.de"
- name: GITEA__server__SSH_DOMAIN
value: git.henryathome.home64.de
- name: GITEA__server__START_SSH_SERVER
value: "true"
- name: GITEA__server__SSH_LISTEN_PORT
value: "32000"
- name: GITEA__server__SSH_PORT
value: "32000"
ports:
- containerPort: 3000 # HTTP
- containerPort: 22 # SSH
- containerPort: 32000 # SSH
volumeMounts:
- name: gitea-storage
mountPath: /data
securityContext:
# runAsUser: 1001
# runAsGroup: 1000
# fsGroup: 1000
volumes:
- name: gitea-storage
persistentVolumeClaim:
@@ -181,5 +199,6 @@ spec:
targetPort: 3000
- name: ssh
protocol: TCP
port: 22
targetPort: 22
port: 32000
targetPort: 32000
nodePort: 32000