Switched to Nhinx Unit

This commit is contained in:
2023-04-15 19:32:48 +00:00
parent d4592ecd65
commit 266cbc4afb
4 changed files with 11 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
variables: variables:
HELM_CHART_VERSION: "0.3.33" HELM_CHART_VERSION: "0.8.0"
stages: stages:
- deploy - deploy

View File

@@ -1,6 +1,6 @@
apiVersion: v2 apiVersion: v2
name: cloudypress name: cloudypress
description: A helm chart for deploying Wordpress on Cloudyne Hosting description: Helm chart to deploy Wordpress backed by PHP-CLI and Nginx Unit
type: application type: application
version: "0.7.0" version: "0.8.0"
appVersion: "6.1.1" appVersion: "6.2.0"

View File

@@ -38,9 +38,9 @@ spec:
allowPrivilegeEscalation: false allowPrivilegeEscalation: false
runAsUser: 0 runAsUser: 0
{{- if .Values.global }} {{- if .Values.global }}
image: {{ .Values.global.initImage | default "ghcr.io/cloudynes/php-init" }}:{{ .Values.global.imagetag | default "latest" }} image: {{ .Values.global.initImage | default "ghcr.io/cloudynes/php-cd" }}:{{ .Values.global.imagetag | default "latest" }}
{{- else }} {{- else }}
image: ghcr.io/cloudynes/php-init:latest image: ghcr.io/cloudynes/php-cd:latest
{{- end }} {{- end }}
imagePullPolicy: Always imagePullPolicy: Always
volumeMounts: volumeMounts:
@@ -67,9 +67,9 @@ spec:
securityContext: securityContext:
runAsUser: 101 runAsUser: 101
{{- if .Values.global }} {{- if .Values.global }}
image: {{ .Values.global.serverImage | default "ghcr.io/cloudynes/php-nginx" }}:{{ .Values.global.imagetag | default "latest" }} image: {{ .Values.global.serverImage | default "ghcr.io/cloudynes/php-unit" }}:{{ .Values.global.imagetag | default "latest" }}
{{- else }} {{- else }}
image: ghcr.io/cloudynes/php-nginx:latest image: ghcr.io/cloudynes/php-unit:latest
{{- end }} {{- end }}
imagePullPolicy: Always imagePullPolicy: Always
volumeMounts: volumeMounts:

View File

@@ -107,13 +107,13 @@ site:
# Global configuration # Global configuration
global: global:
# Which image to use for the web server # Which image to use for the web server
serverImage: ghcr.io/cloudynes/php-nginx serverImage: ghcr.io/cloudynes/php-unit
# Which image to use for the initialization # Which image to use for the initialization
initImage: ghcr.io/cloudynes/php-init initImage: ghcr.io/cloudynes/php-cd
# The tag to use for the above images # The tag to use for the above images
imageTag: fpm8.0-alpine3.16 imageTag: "8.0"
# The database instance where the database will be provisioned # The database instance where the database will be provisioned
dbInstance: "kincaid" dbInstance: "kincaid"