Commit 799ecc2e authored by Dominik Hebeler's avatar Dominik Hebeler

modified file permissions

parent 8a4a34e7
......@@ -35,10 +35,10 @@ COPY config/nginx.conf /etc/nginx/nginx.conf
COPY config/nginx-default.conf /etc/nginx/conf.d/default.conf
COPY . /html
CMD /etc/init.d/cron start && \
CMD chmod -R 0777 /html/storage && \
chmod -R 0777 /html/bootstrap/cache && \
/etc/init.d/cron start && \
/etc/init.d/php7.3-fpm start && \
/etc/init.d/nginx start && \
/etc/init.d/redis-server start && \
chmod -R 0777 /html/storage && \
chmod -R 0777 /html/bootstrap/cache && \
php artisan requests:fetcher
......@@ -32,6 +32,10 @@ spec:
spec:
imagePullSecrets:
{{ toYaml .Values.image.secrets | indent 10 }}
securityContext:
runAsUser: 1000
runAsGroup: 3000
fsGroup: 2000
volumes:
- name: mglogs-persistent-storage
persistentVolumeClaim:
......
......@@ -68,9 +68,9 @@ postgresql:
# stack: gitlab (This is an example. The labels should match the labels on the CloudSQLInstanceClass)
resources:
# limits:
# cpu: 100m
# memory: 128Mi
limits:
cpu: 1
memory: 1Gi
requests:
cpu: 1
memory: 1Gi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment