This commit is contained in:
Graham McIntire 2023-05-01 13:10:02 -05:00
parent be23418024
commit 37d44cfcd7
No known key found for this signature in database

View file

@ -17,6 +17,13 @@ spec:
- name: portal-pv
persistentVolumeClaim:
claimName: portal-pv-claim
initContainers:
- name: init-portal
image: busybox:1.28
command: ['sh', '-c', "mkdir -p /var/www/html/storage/app/public && mkdir -p /var/www/html/storage/framework/cache && mkdir -p /var/www/html/storage/framework/sessions && mkdir -p /var/www/html/storage/framework/testing && mkdir -p /var/www/html/storage/framework/views && chown -R www-data:www-data /var/www/html/storage"]
volumeMounts:
- mountPath: "/var/www/html/storage"
name: portal-pv
containers:
- name: redis
image: redis:5.0.4-alpine