]> git.openstreetmap.org Git - chef.git/blob - cookbooks/dev/templates/default/cgimap.environment.erb
Merge remote-tracking branch 'github/pull/710'
[chef.git] / cookbooks / dev / templates / default / cgimap.environment.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 CGIMAP_SOCKET="<%= @cgimap_socket %>"
4 CGIMAP_DBPORT="<%= @database_port %>"
5 CGIMAP_DBNAME="<%= @database_name %>"
6 CGIMAP_USERNAME="apis"
7 CGIMAP_LOGFILE="<%= @log_directory %>/cgimap.log"
8 CGIMAP_MEMCACHE="127.0.0.1"
9 CGIMAP_RATELIMIT="204800"
10 CGIMAP_MAXDEBT="250"
11 CGIMAP_MAP_AREA="<%= node[:web][:max_request_area] %>"
12 CGIMAP_MAP_NODES"<%= node[:web][:max_number_of_nodes] %>"
13 CGIMAP_MAX_WAY_NODES="<%= node[:web][:max_number_of_way_nodes] %>"
14 CGIMAP_MAX_RELATION_MEMBERS="<%= node[:web][:max_number_of_relation_members] %>"
15 CGIMAP_RATELIMIT_UPLOAD="true"
16 CGIMAP_BBOX_SIZE_LIMIT_UPLOAD="true"
17 <% Hash(@options).each do |name, value| -%>
18 CGIMAP_<%= name.to_s.upcase %>="<%= value %>"
19 <% end -%>