]> git.openstreetmap.org Git - rails.git/blob - config/example.application.yml
Localisation updates from http://translatewiki.net.
[rails.git] / config / example.application.yml
1 standard_settings: &standard_settings
2   # The server URL
3   server_url: "www.openstreetmap.org"
4   # The generator
5   generator: "OpenStreetMap server"
6   # Sender addresses for emails
7   email_from: "OpenStreetMap <webmaster@openstreetmap.org>"
8   email_return_path: "bounces@openstreetmap.org"
9   # API version
10   api_version: "0.6"
11   # Application status - posstible values are:
12   #   :online - online and operating normally
13   #   :api_readonly - site online but API in read-only mode
14   #   :api_offline - site online but API offline
15   #   :database_readonly - database and site in read-only mode
16   #   :database_offline - database offline with site in emergency mode
17   #   :gpx_offline - gpx storage offline
18   status: :online
19   # The maximum area you're allowed to request, in square degrees
20   max_request_area: 0.25
21   # Number of GPS trace/trackpoints returned per-page
22   tracepoints_per_page: 5000
23   # Maximum number of nodes that will be returned by the api in a map request
24   max_number_of_nodes: 50000
25   # Maximum number of nodes that can be in a way (checked on save)
26   max_number_of_way_nodes: 2000
27   # Zoom level to use for postcode results from the geocoder
28   postcode_zoom: 15
29   # Zoom level to use for geonames results from the geocoder
30   geonames_zoom: 12
31   # Timeout for API calls in seconds
32   api_timeout: 300
33   # Timeout for web pages in seconds
34   web_timeout: 30
35   # Periods (in hours) which are allowed for user blocks
36   user_block_periods: [0, 1, 3, 6, 12, 24, 48, 96]
37   # Rate limit for message sending
38   max_messages_per_hour: 60
39   # Domain for handling message replies
40   #messages_domain: "messages.openstreetmap.org"
41   # Quova authentication details
42   #quova_username: ""
43   #quova_password: ""
44   # Spam threshold
45   spam_threshold: 50
46   # Default legale (jurisdiction location) for contributor terms
47   default_legale: GB
48   # Memory limits (in Mb)
49   #soft_memory_limit: 512
50   #hard_memory_limit: 2048
51   # Location of GPX traces and images
52   gpx_trace_dir: "/home/osm/traces"
53   gpx_image_dir: "/home/osm/images"
54   # Location of data for file columns
55   #file_column_root: ""
56   # Enable legacy OAuth 1.0 support
57   oauth_10_support: true
58   # URL of Nominatim instance to use for geocoding
59   nominatim_url: "http://nominatim.openstreetmap.org/"
60   # Default editor
61   default_editor: "potlatch"
62   # OAuth consumer key for Potlatch 2
63   #potlatch2_key: ""
64
65 development:
66   <<: *standard_settings
67
68 production:
69   <<: *standard_settings
70
71 test:
72   <<: *standard_settings