paperless-ngx/gotenberg: Run as correct user
The Gotenberg container image uses UID 1001 for the _gotenberg_ user. Using any other UID number, even when the home directory is set and owned by that UID, results in random issues, especially when using LibreOffice conversions.pull/32/head
parent
99c8f7694c
commit
8ff45a8c01
|
@ -53,13 +53,17 @@ spec:
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
runAsUser: 1000
|
runAsUser: 1001
|
||||||
runAsGroup: 1000
|
runAsGroup: 1001
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: tmp
|
- mountPath: /home/gotenberg
|
||||||
mountPath: /tmp
|
name: tmp
|
||||||
|
subPath: home
|
||||||
|
- mountPath: /tmp
|
||||||
|
name: tmp
|
||||||
|
subPath: tmp
|
||||||
securityContext:
|
securityContext:
|
||||||
fsGroup: 1000
|
fsGroup: 1001
|
||||||
volumes:
|
volumes:
|
||||||
- name: tmp
|
- name: tmp
|
||||||
emptyDir:
|
emptyDir:
|
||||||
|
|
Loading…
Reference in New Issue