1
+ # Production environment configuration.
2
+ #
1
3
# Override the default values of Wunder's Drupal Helm chart and silta.yml.
2
4
# @see: https://github.com/wunderio/charts/blob/master/drupal/values.yaml
3
5
4
- # Enable autoscaling for production .
6
+ # Enable autoscaling.
5
7
autoscaling :
6
8
enabled : true
7
9
minReplicas : 2
8
10
maxReplicas : 5
9
11
10
- # Don't delay the production deployment process to create the reference data.
12
+ # Reference data configuration .
11
13
referenceData :
14
+ # Don't delay the production deployment process with reference data updates.
12
15
updateAfterDeployment : false
13
16
14
- # Enable daily backups.
17
+ # Enable backups.
15
18
backup :
16
19
enabled : true
17
20
21
+ # PHP configuration.
18
22
php :
19
23
cron :
20
24
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 * * * *"
24
27
resources :
25
28
requests :
26
29
cpu : 200m
27
30
memory : 256M
28
31
limits :
29
32
cpu : 500m
30
33
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
+
31
39
# Don't show errors in production.
32
40
errorLevel : " hide"
33
41
42
+ # Nginx configuration.
34
43
nginx :
35
44
resources :
36
45
requests :
@@ -39,19 +48,21 @@ nginx:
39
48
limits :
40
49
cpu : 100m
41
50
memory : 150M
42
- # Uncomment these lines to disable basic auth protection.
51
+
52
+ # Uncomment to disable basic authentication.
43
53
# basicauth:
44
54
# enabled: false
45
55
46
56
# Disable MailHog in production.
47
57
mailhog :
48
58
enabled : false
49
59
60
+ # MariaDB configuration.
50
61
mariadb :
51
62
master :
52
63
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.
55
66
size : 5Gi
56
67
resources :
57
68
requests :
@@ -109,20 +120,11 @@ mariadb:
109
120
socket=/opt/bitnami/mariadb/tmp/mysql.sock
110
121
pid-file=/opt/bitnami/mariadb/tmp/mysqld.pid
111
122
112
- # Consider enabling memcached service
123
+ # Memcached service configuration.
113
124
# memcached:
114
125
# enabled: true
115
126
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.
126
128
varnish :
127
129
enabled : true
128
130
resources :
@@ -132,6 +134,6 @@ varnish:
132
134
limits :
133
135
cpu : 500m
134
136
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