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"
|
DISABLE_REVERSE_GEOCODING: "false"
|
||||||
REVERSE_GEOCODING_PRECISION: "2"
|
REVERSE_GEOCODING_PRECISION: "2"
|
||||||
PUBLIC_LOGIN_PAGE_MESSAGE: ""
|
PUBLIC_LOGIN_PAGE_MESSAGE: ""
|
||||||
PUID: "0"
|
PUID: "1001"
|
||||||
PGID: "0"
|
PGID: "100"
|
||||||
DB_PASSWORD: "password"
|
DB_PASSWORD: "password"
|
||||||
|
|||||||
@@ -12,5 +12,5 @@ spec:
|
|||||||
- ReadWriteMany
|
- ReadWriteMany
|
||||||
persistentVolumeReclaimPolicy: Retain
|
persistentVolumeReclaimPolicy: Retain
|
||||||
nfs:
|
nfs:
|
||||||
path: /export/fastData/immichLibrary
|
path: /export/immichLibrary
|
||||||
server: 192.168.178.166
|
server: 192.168.178.166
|
||||||
|
|||||||
@@ -11,5 +11,5 @@ spec:
|
|||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteMany
|
- ReadWriteMany
|
||||||
nfs:
|
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
|
server: 192.168.178.166
|
||||||
|
|||||||
@@ -25,7 +25,8 @@ spec:
|
|||||||
}]
|
}]
|
||||||
spec:
|
spec:
|
||||||
securityContext:
|
securityContext:
|
||||||
fsGroup: 0
|
fsGroup: 100
|
||||||
|
fsGroupChangePolicy: OnRootMismatch
|
||||||
serviceAccountName: default
|
serviceAccountName: default
|
||||||
dnsPolicy: ClusterFirst
|
dnsPolicy: ClusterFirst
|
||||||
initContainers:
|
initContainers:
|
||||||
@@ -60,7 +61,8 @@ spec:
|
|||||||
image: "ghcr.io/immich-app/immich-server:release"
|
image: "ghcr.io/immich-app/immich-server:release"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 0
|
runAsUser: 1001
|
||||||
|
runAsGroup: 100
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 3001
|
- containerPort: 3001
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user