]> git.openstreetmap.org Git - chef.git/blob - cookbooks/nominatim/templates/default/nominatim.env.erb
nominatim: reorganise recipe for Debian installation
[chef.git] / cookbooks / nominatim / templates / default / nominatim.env.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 NOMINATIM_DATABASE_DSN="pgsql:dbname=<%= @dbname %>"
4 NOMINATIM_MAPICON_URL="https://<%= @base_url %>/ui/mapicons"
5
6 <% if @flatnode_file -%>
7 NOMINATIM_FLATNODE_FILE="<%= @flatnode_file %>"
8 <% end -%>
9
10 NOMINATIM_SERVE_LEGACY_URLS=yes
11 NOMINATIM_API_POOL_SIZE=<%= @pool_size %>
12 NOMINATIM_QUERY_TIMEOUT=<%= @query_timeout %>
13 NOMINATIM_REQUEST_TIMEOUT=<%= @request_timeout %>
14
15 NOMINATIM_IMPORT_STYLE=extratags
16
17 NOMINATIM_USE_US_TIGER_DATA=yes
18
19 <% if node.platform?("ubuntu") -%>
20 NOMINATIM_TOKENIZER="<%= @tokenizer %>"
21 NOMINATIM_UPDATE_FORWARD_DEPENDENCIES="<%= @forward_dependencies %>"
22
23 NOMINATIM_TABLESPACE_SEARCH_DATA=dsearch
24 NOMINATIM_TABLESPACE_SEARCH_INDEX=isearch
25 NOMINATIM_TABLESPACE_OSM_DATA=dosm
26 NOMINATIM_TABLESPACE_OSM_INDEX=iosm
27 NOMINATIM_TABLESPACE_PLACE_DATA=dplace
28 NOMINATIM_TABLESPACE_PLACE_INDEX=iplace
29 NOMINATIM_TABLESPACE_ADDRESS_DATA=daddress
30 NOMINATIM_TABLESPACE_ADDRESS_INDEX=iaddress
31 NOMINATIM_TABLESPACE_AUX_DATA=daux
32 NOMINATIM_TABLESPACE_AUX_INDEX=iaux
33 <% end -%>
34
35
36 NOMINATIM_LOG_DB=no
37 NOMINATIM_LOG_FILE="<%= @log_file %>"