UPDATE: modify user and group IDs in Immich configuration; adjust NFS paths for persistent volumes
This commit is contained in:
@@ -18,6 +18,6 @@ data:
|
||||
DISABLE_REVERSE_GEOCODING: "false"
|
||||
REVERSE_GEOCODING_PRECISION: "2"
|
||||
PUBLIC_LOGIN_PAGE_MESSAGE: ""
|
||||
PUID: "0"
|
||||
PGID: "0"
|
||||
PUID: "1001"
|
||||
PGID: "100"
|
||||
DB_PASSWORD: "password"
|
||||
|
||||
@@ -12,5 +12,5 @@ spec:
|
||||
- ReadWriteMany
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
nfs:
|
||||
path: /export/fastData/immichLibrary
|
||||
path: /export/immichLibrary
|
||||
server: 192.168.178.166
|
||||
|
||||
@@ -11,5 +11,5 @@ spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
nfs:
|
||||
path: /export/fastData/immichLibrary # Static path on the NFS server
|
||||
path: /export/immichLibrary # Static path on the NFS server
|
||||
server: 192.168.178.166
|
||||
|
||||
@@ -25,7 +25,8 @@ spec:
|
||||
}]
|
||||
spec:
|
||||
securityContext:
|
||||
fsGroup: 0
|
||||
fsGroup: 100
|
||||
fsGroupChangePolicy: OnRootMismatch
|
||||
serviceAccountName: default
|
||||
dnsPolicy: ClusterFirst
|
||||
initContainers:
|
||||
@@ -60,7 +61,8 @@ spec:
|
||||
image: "ghcr.io/immich-app/immich-server:release"
|
||||
imagePullPolicy: Always
|
||||
securityContext:
|
||||
runAsUser: 0
|
||||
runAsUser: 1001
|
||||
runAsGroup: 100
|
||||
ports:
|
||||
- containerPort: 3001
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user