1+ # Production environment configuration.
2+ #
13# Override the default values of Wunder's Drupal Helm chart and silta.yml.
24# @see: https://github.com/wunderio/charts/blob/master/drupal/values.yaml
35
4- # Enable autoscaling for production .
6+ # Enable autoscaling.
57autoscaling :
68 enabled : true
79 minReplicas : 2
810 maxReplicas : 5
911
10- # Don't delay the production deployment process to create the reference data.
12+ # Reference data configuration .
1113referenceData :
14+ # Don't delay the production deployment process with reference data updates.
1215 updateAfterDeployment : false
1316
14- # Enable daily backups.
17+ # Enable backups.
1518backup :
1619 enabled : true
1720
21+ # PHP configuration.
1822php :
1923 cron :
2024 drupal :
21- # In production environments, run cron every 5 minutes. Adjust as needed.
22- schedule : ' */5 * * * *'
23- # Reserve more resources for our PHP containers.
25+ # Run cron every 5 minutes. Adjust as needed.
26+ schedule : " */5 * * * *"
2427 resources :
2528 requests :
2629 cpu : 200m
2730 memory : 256M
2831 limits :
2932 cpu : 500m
3033 memory : 512M
34+ # Set the preproduction environment URI.
35+ # Update this to match the production URI during the site launch.
36+ env :
37+ DRUSH_OPTIONS_URI : " https://production.drupal-project.finland.wdr.io"
38+
3139 # Don't show errors in production.
3240 errorLevel : " hide"
3341
42+ # Nginx configuration.
3443nginx :
3544 resources :
3645 requests :
@@ -39,19 +48,21 @@ nginx:
3948 limits :
4049 cpu : 100m
4150 memory : 150M
42- # Uncomment these lines to disable basic auth protection.
51+
52+ # Uncomment to disable basic authentication.
4353# basicauth:
4454# enabled: false
4555
4656# Disable MailHog in production.
4757mailhog :
4858 enabled : false
4959
60+ # MariaDB configuration.
5061mariadb :
5162 master :
5263 persistence :
53- # Database storage disk space allocation
54- # Request assistance from ops team after changing this on existing deployment.
64+ # Database storage disk space allocation.
65+ # Request assistance from Ops team to change this on an existing deployment.
5566 size : 5Gi
5667 resources :
5768 requests :
@@ -109,20 +120,11 @@ mariadb:
109120 socket=/opt/bitnami/mariadb/tmp/mysql.sock
110121 pid-file=/opt/bitnami/mariadb/tmp/mysqld.pid
111122
112- # Consider enabling memcached service
123+ # Memcached service configuration.
113124# memcached:
114125# enabled: true
115126
116- # Connect to an externally hosted database.
117- # env:
118- # DB_HOST: 'hosted.database.server.com'
119- # DB_NAME: 'drupal-1A4G3C'
120- # DB_USER: 'drupal'
121- # DB_PASS: 'never store passwords'
122- # Disable the built-in database when using an external database.
123- # mariadb:
124- # enabled: false
125-
127+ # Varnish service configuration.
126128varnish :
127129 enabled : true
128130 resources :
@@ -132,6 +134,6 @@ varnish:
132134 limits :
133135 cpu : 500m
134136 memory : 1Gi
135- # See https://varnish-cache.org/docs/6.6/users-guide/ storage-backends.html
136- # Disc allocated storage.
137- storageBackend : ' file,/var/lib/varnish/varnish_storage.bin,512M'
137+ # Set the storage backend to file.
138+ # @see: https://varnish-cache.org/docs/6.6/users-guide/ storage-backends.html
139+ storageBackend : " file,/var/lib/varnish/varnish_storage.bin,512M"
0 commit comments