]> git.openstreetmap.org Git - chef.git/blob - roles/matomo.rb
Merge remote-tracking branch 'tigerfell/pr257'
[chef.git] / roles / matomo.rb
1 name "matomo"
2 description "Role applied to all Matomo servers"
3
4 default_attributes(
5   :apache => {
6     :mpm => "event",
7     :event => {
8       :server_limit => 18,
9       :max_request_workers => 450,
10       :min_spare_threads => 50,
11       :max_spare_threads => 150,
12       :listen_cores_buckets_ratio => 4
13     }
14   },
15   :mysql => {
16     :settings => {
17       :mysqld => {
18         :innodb_buffer_pool_instances => "8",
19         :innodb_buffer_pool_size => "16GB",
20         :innodb_flush_log_at_trx_commit => "2"
21       }
22     }
23   }
24 )
25
26 run_list(
27   "recipe[matomo]"
28 )