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

modified file permissions

parent 8a4a34e7
...@@ -35,10 +35,10 @@ COPY config/nginx.conf /etc/nginx/nginx.conf ...@@ -35,10 +35,10 @@ COPY config/nginx.conf /etc/nginx/nginx.conf
COPY config/nginx-default.conf /etc/nginx/conf.d/default.conf COPY config/nginx-default.conf /etc/nginx/conf.d/default.conf
COPY . /html 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/php7.3-fpm start && \
/etc/init.d/nginx start && \ /etc/init.d/nginx start && \
/etc/init.d/redis-server start && \ /etc/init.d/redis-server start && \
chmod -R 0777 /html/storage && \
chmod -R 0777 /html/bootstrap/cache && \
php artisan requests:fetcher php artisan requests:fetcher
...@@ -32,6 +32,10 @@ spec: ...@@ -32,6 +32,10 @@ spec:
spec: spec:
imagePullSecrets: imagePullSecrets:
{{ toYaml .Values.image.secrets | indent 10 }} {{ toYaml .Values.image.secrets | indent 10 }}
securityContext:
runAsUser: 1000
runAsGroup: 3000
fsGroup: 2000
volumes: volumes:
- name: mglogs-persistent-storage - name: mglogs-persistent-storage
persistentVolumeClaim: persistentVolumeClaim:
......
...@@ -68,9 +68,9 @@ postgresql: ...@@ -68,9 +68,9 @@ postgresql:
# stack: gitlab (This is an example. The labels should match the labels on the CloudSQLInstanceClass) # stack: gitlab (This is an example. The labels should match the labels on the CloudSQLInstanceClass)
resources: resources:
# limits: limits:
# cpu: 100m cpu: 1
# memory: 128Mi memory: 1Gi
requests: requests:
cpu: 1 cpu: 1
memory: 1Gi 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