diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml
index 7f577b9eeeac6c0ef9d647f8f63e6bd54e5174b5..5c1a93132e4726e85a2734886481128fab971b08 100644
--- a/chart/templates/deployment.yaml
+++ b/chart/templates/deployment.yaml
@@ -66,6 +66,10 @@ spec:
       - name: redis-config
         configMap:
           name: redis-container-config
+      securityContext:
+        fsGroup: 1000
+        runAsUser: 1000
+        runAsGroup: 1000
       containers:
       - name: {{ .Chart.Name }}-phpfpm
         image: {{ template "imagename" . }}