Added unit config file to container

This commit is contained in:
2023-04-15 21:09:06 +00:00
parent 54fdb529f8
commit fc1e7a71b2
3 changed files with 4 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
variables: variables:
HELM_CHART_VERSION: "0.8.2" HELM_CHART_VERSION: "0.8.3"
stages: stages:
- deploy - deploy

View File

@@ -2,5 +2,5 @@ apiVersion: v2
name: cloudypress name: cloudypress
description: Helm chart to deploy Wordpress backed by PHP-CLI and Nginx Unit description: Helm chart to deploy Wordpress backed by PHP-CLI and Nginx Unit
type: application type: application
version: "0.8.2" version: "0.8.3"
appVersion: "6.2.0" appVersion: "6.2.0"

View File

@@ -76,11 +76,8 @@ spec:
- name: local - name: local
mountPath: /app mountPath: /app
- name: serverconfig - name: serverconfig
mountPath: /etc/nginx/nginx.conf mountPath: /docker-entrypoint.d/unit.json
subPath: nginx.conf subPath: unit.json
- name: serverconfig
mountPath: /usr/local/etc/php-fpm.d/www.conf
subPath: www.conf
{{- if and .Values.site .Values.site.storage .Values.site.storage.cloud .Values.site.storage.cloud.folders }} {{- if and .Values.site .Values.site.storage .Values.site.storage.cloud .Values.site.storage.cloud.folders }}
{{- range $v := .Values.site.storage.cloud.folders }} {{- range $v := .Values.site.storage.cloud.folders }}
- name: cloud - name: cloud