Created version 0.5

This commit is contained in:
2023-06-03 22:01:56 +00:00
parent 8b4a25bafb
commit c9f6674f75
14 changed files with 489 additions and 512 deletions

View File

@@ -1,155 +1,228 @@
# Customer Information
customer:
# The (dns-compliant) customer name
name: scheibling-consulting-ab
# Customer Name/identifier
name: mycustomer
# The legal name of the customer
legalName: Scheibling Consulting AB
# Timezone for customer
# The legal ID of the customer
legalId: 559005-XXXX
# The timezone for the customer
timezone: "Europe/Stockholm"
# Package/Resource Settings
package: {}
email:
# Force a given sender email
# forceSender: "example@email.com"
# Defaults:
# package:
# size: small
# replicas: 1
# cpu:
# avg: 500m
# peak: 1000m
# mem:
# avg: 512Mi
# peak: 1Gi
# disk: 5Gi
# Set a default sender/display name
# defaultSender: "customer-noreply@v3.nu"
# defaultSenderName: "Customer Name"
# Settings for email sent from site
# default is sending from customer@mail
email: {}
# Specify allowed domains/emails to use as senders
domains:
- scheibling.se
emails:
- it@scheibling.se
# email:
# forceFromEmail: "user@domain.com"
# forceFromName: "Some Customer"
# allowedDomains:
# - "customerdomainA.se"
# - "customerdomainB.se"
# allowedEmails:
# - "noreply@customerdomainC.com"
# Database configuration
database:
server: kincaid
# Website Configuration
site:
# The main URL for the website
url: "www.mycustomer.com"
# Import database from file
import: true
importPath: "/path/to/database.sql"
overwriteExisting: false
# Additional environment variables to pass to the container
additional_env: {}
# MY_ENV_VAR: "value"
# Storage Settings
storage:
# The storage class to use for the site
# Default: premium01
class: "premium01"
# Create sites with another main domain for WP,
# but the rest of the components named according to site-tld
# overrideMainUrl: ""
# The storage type to use for the site
# Default: Premium_LRS
type: "Premium_LRS"
# Whether to keep plugins and Wordpress updated
autoUpdate: 'true'
# The storage container to use for the site
# Default: <domain>-<tld>
container: "scheibling-se"
# Storage settings
storage: {}
# Defaults:
# storage:
# cloud:
# class: "premium01"
# type: "Premium_LRS"
# container: "www-mycustomer-com"
# folders:
# - cloudPath: "uploads"
# localPath: "/app/web/app/uploads"
# - cloudyPath: "gallery"
# localPath: "/app/web/app/uploads"
# Initialization Settings
init:
# The composer package that contains the site
composerPackage: "somens/mycustomer-app"
# The name of the theme which the composer package refers to
themeName: "mycustomer-app-theme"
# Optional: Import content to wp-content directory from zip file
content: {}
# content:
# import: 'true'
# url: "https://mycustomer.com/wp-content-data.zip"
# Optional: Import database from URL
database: {}
# database:
# import: 'true'
# force: false
# url: "https://www.mycustomer.com/mysqldump.sql"
# Settings for the webroot (used by Nginx)
webroot:
path: "/app/web"
indexes: "index.php index.html index.htm"
# WP Content Folders
wpContent:
- uploads
- languages
# Additional ingress names for the site
# Default ingress names are (customer domain: testsite.com, domain = testsite, tld = com):
additionalMounts: {}
# - cloudPath: uploads
# localPath: /app/web/app/uploads
site:
# The name of the repository/composerpackage/dockerimage
# Default: domain.replace('.', '-')
name: "scheibling-se"
# Tag of the container to deploy
imageTag: "latest"
# The primary domain/TLD where the site will be available
domain: scheibling.se
# The main url (subdomain) for the site
# Only needed if it differs from the domain
# ex.
redirectDomain: www.scheibling.se
# Additional ingress domains that should all
# point to the same site
# Defaults are:
# - <domain>.<tld>
# - www.<domain>.<tld>
# - <domain>-<tld>.eu.cust.azurecd.net
# - www-<domain>-<tld>.eu.cust.azurecd.net
additionalIngressNames: []
additionalIngressDomains:
- www2.scheibling.se
# PHP Version
phpVersion: "8.0"
# Set environment (production/test/staging)
# Default: production
environment: production
# Additional env vars
# additionalEnv:
# MY_ENV_VAR: "value"
additionalEnv: {}
# Enable the route for trying .webp files before images
enableWebpRoute: "true"
# The resource limits for the site
resources:
replicas: 1
php:
memory: 512M
post: 512M
upload: 512M
inputTime: "300"
executionTime: "300"
cpu:
avg: 500m
peak: 1000m
mem:
avg: 256Mi
peak: 512Mi
disk: 5Gi
# Log Errors
logErrors: "1"
# Display Errors
displayErrors: "0"
# advanced:
# php:
# displayErrors: "0"
# logErrors: "1"
# additionalAdminValues: {}
# # Defaults:
# # storage:
# # cloud:
# # class: "premium01"
# # type: "Premium_LRS"
# # container: "www-mycustomer-com"
# # folders:
# # - cloudPath: "uploads"
# # localPath: "/app/web/app/uploads"
# # - cloudyPath: "gallery"
# # localPath: "/app/web/app/uploads"
# Global configuration
global:
# Which image to use for the web server
serverImage: ghcr.io/cloudynes/php-nginx
# # Initialization Settings
# init:
# # The composer package that contains the site
# composerPackage: "somens/mycustomer-app"
# Which image to use for the initialization
initImage: ghcr.io/cloudynes/php-init
# # The name of the theme which the composer package refers to
# themeName: "mycustomer-app-theme"
# The tag to use for the above images
imageTag: fpm8.0-alpine3.16
# # Optional: Import content to wp-content directory from zip file
# content: {}
# The database instance where the database will be provisioned
dbInstance: "kincaid"
# # content:
# # import: 'true'
# # url: "https://mycustomer.com/wp-content-data.zip"
# # Optional: Import database from URL
# database: {}
# # database:
# # import: 'true'
# # force: false
# # url: "https://www.mycustomer.com/mysqldump.sql"
php:
listenAddress: "127.0.0.1:8123"
listenBacklog: "511"
# # Settings for the webroot (used by Nginx)
# webroot:
# path: "/app/web"
# indexes: "index.php index.html index.htm"
# # Additional ingress names for the site
# # Default ingress names are (customer domain: testsite.com, domain = testsite, tld = com):
# # - <domain>.<tld>
# # - www.<domain>.<tld>
# # - <domain>-<tld>.eu.cust.azurecd.net
# # - www-<domain>-<tld>.eu.cust.azurecd.net
# additionalIngressNames: []
pmMode: "ondemand"
pmMaxChildren: "100"
pmProcessIdle: "30s"
pmMaxRequests: "1000"
limitExtensions: ".php"
exposePHP: "Off"
shortOpenTag": "Off"
disableFunctions: "exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,show_source"
logErrors: "On"
# # Global configuration
# global:
# # Which image to use for the web server
# serverImage: ghcr.io/cloudynes/php-nginx
adminValues:
upload_max_filesize: "256M"
post_max_size: "256M"
# # Which image to use for the initialization
# initImage: ghcr.io/cloudynes/php-init
nginx:
workerConnections: "1024"
keepaliveTimeout: "61"
sendfile: "off"
tcpNodelay: "on"
absoluteRedirects: "off"
fcgiBufferSize: "128k"
fcgiBuffers: "4 256k"
fcgiBusyBufferSize: "256k"
fcgiReadTimeout: "300"
globalAdditions: ""
eventsAdditions: ""
httpAdditions: ""
serverAdditions: ""
rootLocationAdditions: ""
phpLocationAdditions: ""
# # The tag to use for the above images
# imageTag: fpm8.0-alpine3.16
# # The database instance where the database will be provisioned
# dbInstance: "kincaid"
# php:
# listenAddress: "127.0.0.1:8123"
# listenBacklog: "511"
# pmMode: "ondemand"
# pmMaxChildren: "100"
# pmProcessIdle: "30s"
# pmMaxRequests: "1000"
# limitExtensions: ".php"
# exposePHP: "Off"
# shortOpenTag": "Off"
# disableFunctions: "exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,show_source"
# logErrors: "On"
# adminValues:
# upload_max_filesize: "256M"
# post_max_size: "256M"
# nginx:
# workerConnections: "1024"
# keepaliveTimeout: "61"
# sendfile: "off"
# tcpNodelay: "on"
# absoluteRedirects: "off"
# fcgiBufferSize: "128k"
# fcgiBuffers: "4 256k"
# fcgiBusyBufferSize: "256k"
# fcgiReadTimeout: "300"
# globalAdditions: ""
# eventsAdditions: ""
# httpAdditions: ""
# serverAdditions: ""
# rootLocationAdditions: ""
# phpLocationAdditions: ""