]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/recipes/default.rb
mediawiki: enable noreply config
[chef.git] / cookbooks / nominatim / recipes / default.rb
index b5496a6526b0f44dbc988db9476cdd8a533d91ea..78717add8df28e243b1ea4b43a3981e221f28769 100644 (file)
@@ -168,8 +168,10 @@ package %w[
   python3-pyosmium
   pyosmium
   python3-psycopg2
   python3-pyosmium
   pyosmium
   python3-psycopg2
+  python3-dotenv
   php-pgsql
   php-intl
   php-pgsql
   php-intl
+  php-symfony-dotenv
 ]
 
 source_directory = "#{basedir}/nominatim"
 ]
 
 source_directory = "#{basedir}/nominatim"
@@ -216,8 +218,8 @@ template "#{source_directory}/.git/hooks/post-merge" do
             :dbname => node[:nominatim][:dbname]
 end
 
             :dbname => node[:nominatim][:dbname]
 end
 
-template "#{build_directory}/settings/local.php" do
-  source "settings.erb"
+template "#{build_directory}/.env" do
+  source "nominatim.env.erb"
   owner "nominatim"
   group "nominatim"
   mode "664"
   owner "nominatim"
   group "nominatim"
   mode "664"