X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/16a1937a7bcd39d3bf1cea2f4385005e0ddaf533..46e5689ae155453dbe7bd7b775c21e53dcd0553d:/cookbooks/dev/recipes/default.rb diff --git a/cookbooks/dev/recipes/default.rb b/cookbooks/dev/recipes/default.rb index 047a70d72..a9e85008e 100644 --- a/cookbooks/dev/recipes/default.rb +++ b/cookbooks/dev/recipes/default.rb @@ -57,6 +57,7 @@ package %w[ php-xml pngcrush pngquant + python-is-python3 python3 python3-brotli python3-bs4 @@ -69,6 +70,7 @@ package %w[ python3-magic python3-pil python3-psycopg2 + python3-venv python3-pyproj python3-gdal gdal-bin @@ -239,7 +241,7 @@ search(:accounts, "*:*").each do |account| "memory_limit" => "128M", "post_max_size" => "32M", "upload_max_filesize" => "32M" - php_admin_values "sendmail_path" => "/usr/sbin/sendmail -t -i -f #{name}@errol.openstreetmap.org", + php_admin_values "sendmail_path" => "/usr/sbin/sendmail -t -i -f #{name}@dev.openstreetmap.org", "open_basedir" => "/home/#{name}/:/tmp/:/usr/share/php/" php_flags "display_errors" => "on" end @@ -291,6 +293,8 @@ if node[:postgresql][:clusters][:"14/main"] restart "on-failure" nice 10 sandbox :enable_network => true + restrict_address_families "AF_UNIX" + memory_deny_write_execute false read_write_paths "/srv/%i.apis.dev.openstreetmap.org/logs" end