mirror of
https://github.com/auricom/home-cluster.git
synced 2025-10-02 16:51:52 +02:00
fixes
This commit is contained in:
@@ -15,18 +15,14 @@ spec:
|
||||
engineVersion: v2
|
||||
data:
|
||||
# App
|
||||
DB_DATABASE_NAME: &dbName immich
|
||||
DB_HOSTNAME: &dbHost postgres.${SECRET_DOMAIN}
|
||||
DB_USERNAME: &dbUser "{{ .POSTGRES_USER }}"
|
||||
DB_PASSWORD: &dbPass "{{ .POSTGRES_PASS }}"
|
||||
DB_PORT: "5432"
|
||||
DB_URL: postgresql://{{ .POSTGRES_USER }}:{{ .POSTGRES_PASS }}@postgres.${SECRET_DOMAIN}:5432/immich?sslmode=require
|
||||
JWT_SECRET: "{{ .IMMICH_JWT_SECRET }}"
|
||||
TYPESENSE_API_KEY: "{{ .IMMICH_TYPESENSE_API_KEY }}"
|
||||
# Postgres Init
|
||||
INIT_POSTGRES_DBNAME: *dbName
|
||||
INIT_POSTGRES_HOST: *dbHost
|
||||
INIT_POSTGRES_USER: *dbUser
|
||||
INIT_POSTGRES_PASS: *dbPass
|
||||
INIT_POSTGRES_DBNAME: immich
|
||||
INIT_POSTGRES_HOST: postgres.${SECRET_DOMAIN}
|
||||
INIT_POSTGRES_USER: "{{ .POSTGRES_USER }}"
|
||||
INIT_POSTGRES_PASS: "{{ .POSTGRES_PASS }}"
|
||||
INIT_POSTGRES_SUPER_PASS: "{{ .POSTGRES_SUPER_PASS }}"
|
||||
dataFrom:
|
||||
- extract:
|
||||
|
@@ -63,8 +63,9 @@ spec:
|
||||
port: 3003
|
||||
persistence:
|
||||
library:
|
||||
type: persistentVolumeClaim
|
||||
existingClaim: immich-nfs
|
||||
type: nfs
|
||||
server: "${LOCAL_LAN_TRUENAS}"
|
||||
path: /mnt/storage/apps/immich
|
||||
globalMounts:
|
||||
- path: /usr/src/app/upload
|
||||
cache:
|
||||
|
@@ -79,7 +79,9 @@ spec:
|
||||
enabled: false
|
||||
persistence:
|
||||
library:
|
||||
existingClaim: immich-nfs
|
||||
type: nfs
|
||||
server: "${LOCAL_LAN_TRUENAS}"
|
||||
path: /mnt/storage/apps/immich
|
||||
globalMounts:
|
||||
- path: /usr/src/app/upload
|
||||
geocoding-dump:
|
||||
|
@@ -112,7 +112,9 @@ spec:
|
||||
globalMounts:
|
||||
- path: /config
|
||||
library:
|
||||
existingClaim: immich-nfs
|
||||
type: nfs
|
||||
server: "${LOCAL_LAN_TRUENAS}"
|
||||
path: /mnt/storage/apps/immich
|
||||
globalMounts:
|
||||
- path: *mediaLocation
|
||||
geocoding-dump:
|
||||
|
@@ -1,34 +1,5 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: immich-nfs
|
||||
spec:
|
||||
storageClassName: immich-nfs
|
||||
capacity:
|
||||
storage: 1Mi
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
nfs:
|
||||
server: ${LOCAL_LAN_TRUENAS}
|
||||
path: /mnt/storage/apps/immich
|
||||
mountOptions: ["nfsvers=4.2", "nconnect=8", "hard", "noatime"]
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: immich-nfs
|
||||
namespace: default
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
storageClassName: immich-nfs
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Mi
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: immich-machine-learning-cache
|
||||
|
Reference in New Issue
Block a user