X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a60f8a522d3ab47b49ba10b4c5cb756e5785ef58..027e6c6a30ad50302390f6ea56d3bbf7a49f4fdf:/cookbooks/nominatim/recipes/default.rb diff --git a/cookbooks/nominatim/recipes/default.rb b/cookbooks/nominatim/recipes/default.rb index 181d41c17..e38d0c993 100644 --- a/cookbooks/nominatim/recipes/default.rb +++ b/cookbooks/nominatim/recipes/default.rb @@ -55,7 +55,6 @@ include_recipe "postgresql" postgresql_version = node[:nominatim][:dbcluster].split("/").first postgis_version = node[:nominatim][:postgis] -package "postgis" package "postgresql-#{postgresql_version}-postgis-#{postgis_version}" node[:nominatim][:dbadmins].each do |user| @@ -151,6 +150,7 @@ package %w[ libpq-dev libgeos++-dev libproj-dev + python3-pyosmium pyosmium ] @@ -222,8 +222,7 @@ template "/etc/logrotate.d/nominatim" do end external_data = [ - "wikipedia_article.sql.bin", - "wikipedia_redirect.sql.bin", + "wikimedia-importance.sql.gz", "gb_postcode_data.sql.gz" ] @@ -340,6 +339,13 @@ node[:nominatim][:fpm_pools].each do |name, data| end end +systemd_service "apache-nominatim" do + service "apache2" + dropin "nominatim" + tasks_max 12000 + notifies :restart, "service[apache2]" +end + ssl_certificate "nominatim.openstreetmap.org" do domains ["nominatim.openstreetmap.org", "nominatim.osm.org",