feat(filerun): run app as apps user and set id and gid according to PUID and fsgroup (#3568)

This commit is contained in:
Stavros Kois
2022-08-26 00:33:01 +02:00
committed by GitHub
parent 9b843e2360
commit bcebb228ba
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -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
+4
View File
@@ -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"