1 default[:vectortile][:database][:cluster] = "16/main"
2 default[:vectortile][:database][:postgis] = "3"
3 default[:vectortile][:database][:nodes_store] = :flat
4 default[:vectortile][:serve][:threads] = node.cpu_cores
5 default[:vectortile][:serve][:mode] = :live
6 default[:vectortile][:replication][:url] = "https://osm-planet-eu-central-1.s3.dualstack.eu-central-1.amazonaws.com/planet/replication/minute"
7 default[:vectortile][:replication][:status] = :enabled
8 default[:vectortile][:replication][:tileupdate] = :enabled
9 default[:vectortile][:replication][:threads] = node.cpu_cores
11 default[:postgresql][:versions] |= [node[:vectortile][:database][:cluster].split("/").first]
12 default[:postgresql][:monitor_database] = "tiles"
13 # As an absolute worst case, the server might have the serving, update, and a manual generation process going on.
14 default[:postgresql][:settings][:defaults][:max_connections] = (node.cpu_cores * 6 + 20).to_s
15 default[:accounts][:users][:tileupdate][:status] = :role
16 default[:accounts][:users][:tilekiln][:status] = :role