]> git.openstreetmap.org Git - chef.git/commitdiff
nominatim: fix database DSN
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 30 Dec 2020 10:58:04 +0000 (11:58 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 30 Dec 2020 10:58:04 +0000 (11:58 +0100)
cookbooks/nominatim/templates/default/nominatim.env.erb

index 062d5f96c46e3a27869557e814309e6471290070..499ff75aefcba9a4fe033598955d3638baf785aa 100644 (file)
@@ -1,6 +1,6 @@
 # DO NOT EDIT - This file is being maintained by Chef
 
-NOMINATIM_DATABASE_DSN="<%= @dbname %>"
+NOMINATIM_DATABASE_DSN="pgsql:dbname=<%= @dbname %>"
 NOMINATIM_MAPICON_URL="https://<%= @base_url %>/ui/mapicons/"
 
 <% if @flatnode_file -%>