]> git.openstreetmap.org Git - rails.git/blob - config/example.application.yml
Add OpenLayers.Format.QueryStringFilter to the OpenLayers build
[rails.git] / config / example.application.yml
1 defaults: &defaults
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   # The maximum area you're allowed to request notes from, in square degrees
28   max_note_request_area: 25
29   # Zoom level to use for postcode results from the geocoder
30   postcode_zoom: 15
31   # Zoom level to use for geonames results from the geocoder
32   geonames_zoom: 12
33   # Timeout for API calls in seconds
34   api_timeout: 300
35   # Timeout for web pages in seconds
36   web_timeout: 30
37   # Periods (in hours) which are allowed for user blocks
38   user_block_periods: [0, 1, 3, 6, 12, 24, 48, 96]
39   # Rate limit for message sending
40   max_messages_per_hour: 60
41   # Domain for handling message replies
42   #messages_domain: "messages.openstreetmap.org"
43   # Geonames authentication details
44   #geonames_username: ""
45   # Quova authentication details
46   #quova_username: ""
47   #quova_password: ""
48   # Users to show as being nearby
49   nearby_users: 30
50   # Max radius, in km, for nearby users
51   nearby_radius: 50
52   # Spam threshold
53   spam_threshold: 50
54   # Default legale (jurisdiction location) for contributor terms
55   default_legale: GB
56   # Memory limits (in Mb)
57   #soft_memory_limit: 512
58   #hard_memory_limit: 2048
59   # Location of GPX traces and images
60   gpx_trace_dir: "/home/osm/traces"
61   gpx_image_dir: "/home/osm/images"
62   # Location of data for attachments
63   attachments_dir: ":rails_root/public/attachments"
64   # Log file to use
65   #log_path: ""
66   # List of memcache servers to use for caching
67   #memcache_servers: []
68   # Enable legacy OAuth 1.0 support
69   oauth_10_support: true
70   # URL of Nominatim instance to use for geocoding
71   nominatim_url: "http://nominatim.openstreetmap.org/"
72   # Default editor
73   default_editor: "potlatch2"
74   # OAuth consumer key for Potlatch 2
75   #potlatch2_key: ""
76   # Whether to require users to view the CTs before continuing to edit...
77   require_terms_seen: false
78   # Whether to require users to agree to the CTs before editing
79   require_terms_agreed: false
80   # Piwik details
81   #piwik_location: "piwik.openstreetmap.org"
82   #piwik_site: 1
83   #piwik_signup_goal: 1
84
85 development:
86   <<: *defaults
87
88 production:
89   <<: *defaults
90
91 test:
92   <<: *defaults