# limitations under the License.
#
+include_recipe "munin"
+
basedir = data_bag_item("accounts", "nominatim")["home"]
email_errors = data_bag_item("accounts", "lonvia")["email"]
libproj-dev
python3-pyosmium
pyosmium
+ python3-psycopg2
]
source_directory = "#{basedir}/nominatim"
end
external_data = [
- "wikipedia_article.sql.bin",
- "wikipedia_redirect.sql.bin",
+ "wikimedia-importance.sql.gz",
"gb_postcode_data.sql.gz"
]
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",