feat(filerun): run app as apps user and set id and gid according to PUID and fsgroup (#3568)
This commit is contained in:
@@ -24,7 +24,7 @@ sources:
|
||||
- https://github.com/truecharts/charts/tree/master/charts/incubator/filerun
|
||||
- https://hub.docker.com/r/filerun/filerun
|
||||
- https://github.com/filerun/docker
|
||||
version: 2.0.30
|
||||
version: 2.1.0
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- media
|
||||
|
||||
@@ -12,6 +12,10 @@ podSecurityContext:
|
||||
runAsGroup: 0
|
||||
|
||||
env:
|
||||
APACHE_RUN_USER: apps
|
||||
APACHE_RUN_USER_ID: "{{ .Values.security.PUID }}"
|
||||
APACHE_RUN_GROUP: apps
|
||||
APACHE_RUN_GROUP_ID: "{{ .Values.podSecurityContext.fsGroup }}"
|
||||
FR_DB_NAME: "filerun"
|
||||
FR_DB_USER: "filerun"
|
||||
FR_DB_PORT: "3306"
|
||||
|
||||
Reference in New Issue
Block a user