]> git.openstreetmap.org Git - rails.git/blob - config/example.application.yml
Extract OSM.apiUrl
[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   copyright_owner: "OpenStreetMap and contributors"
7   attribution_url: "http://www.openstreetmap.org/copyright"
8   license_url: "http://opendatacommons.org/licenses/odbl/1-0/"
9   # Sender addresses for emails
10   email_from: "OpenStreetMap <webmaster@openstreetmap.org>"
11   email_return_path: "bounces@openstreetmap.org"
12   # API version
13   api_version: "0.6"
14   # Application status - posstible values are:
15   #   :online - online and operating normally
16   #   :api_readonly - site online but API in read-only mode
17   #   :api_offline - site online but API offline
18   #   :database_readonly - database and site in read-only mode
19   #   :database_offline - database offline with site in emergency mode
20   #   :gpx_offline - gpx storage offline
21   status: :online
22   # The maximum area you're allowed to request, in square degrees
23   max_request_area: 0.25
24   # Number of GPS trace/trackpoints returned per-page
25   tracepoints_per_page: 5000
26   # Maximum number of nodes that will be returned by the api in a map request
27   max_number_of_nodes: 50000
28   # Maximum number of nodes that can be in a way (checked on save)
29   max_number_of_way_nodes: 2000
30   # Zoom level to use for postcode results from the geocoder
31   postcode_zoom: 15
32   # Zoom level to use for geonames results from the geocoder
33   geonames_zoom: 12
34   # Timeout for API calls in seconds
35   api_timeout: 300
36   # Timeout for web pages in seconds
37   web_timeout: 30
38   # Periods (in hours) which are allowed for user blocks
39   user_block_periods: [0, 1, 3, 6, 12, 24, 48, 96]
40   # Rate limit for message sending
41   max_messages_per_hour: 60
42   # Domain for handling message replies
43   #messages_domain: "messages.openstreetmap.org"
44   # Geonames authentication details
45   #geonames_username: ""
46   # Quova authentication details
47   #quova_username: ""
48   #quova_password: ""
49   # Users to show as being nearby
50   nearby_users: 30
51   # Max radius, in km, for nearby users
52   nearby_radius: 50
53   # Spam threshold
54   spam_threshold: 50
55   # Default legale (jurisdiction location) for contributor terms
56   default_legale: GB
57   # Memory limits (in Mb)
58   #soft_memory_limit: 512
59   #hard_memory_limit: 2048
60   # Location of GPX traces and images
61   gpx_trace_dir: "/home/osm/traces"
62   gpx_image_dir: "/home/osm/images"
63   # Location of data for attachments
64   attachments_dir: ":rails_root/public/attachments"
65   # Log file to use
66   #log_path: ""
67   # List of memcache servers to use for caching
68   #memcache_servers: []
69   # Enable legacy OAuth 1.0 support
70   oauth_10_support: true
71   # URL of Nominatim instance to use for geocoding
72   nominatim_url: "http://nominatim.openstreetmap.org/"
73   # Default editor
74   default_editor: "potlatch2"
75   # OAuth consumer key for Potlatch 2
76   #potlatch2_key: ""
77   # Whether to require users to view the CTs before continuing to edit...
78   require_terms_seen: false
79   # Whether to require users to agree to the CTs before editing
80   require_terms_agreed: false
81   # Piwik details
82   #piwik_location: "piwik.openstreetmap.org"
83   #piwik_site: 1
84   #piwik_signup_goal: 1
85
86 development:
87   <<: *defaults
88
89 production:
90   <<: *defaults
91
92 test:
93   <<: *defaults