]> git.openstreetmap.org Git - rails.git/blob - config/example.application.yml
Update leaflet polyline plugin
[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 - possible 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   # The maximum area you're allowed to request notes from, in square degrees
31   max_note_request_area: 25
32   # Zoom level to use for postcode results from the geocoder
33   postcode_zoom: 15
34   # Zoom level to use for geonames results from the geocoder
35   geonames_zoom: 12
36   # Timeout for API calls in seconds
37   api_timeout: 300
38   # Timeout for web pages in seconds
39   web_timeout: 30
40   # Periods (in hours) which are allowed for user blocks
41   user_block_periods: [0, 1, 3, 6, 12, 24, 48, 96]
42   # Rate limit for message sending
43   max_messages_per_hour: 60
44   # Domain for handling message replies
45   #messages_domain: "messages.openstreetmap.org"
46   # Geonames authentication details
47   #geonames_username: ""
48   # Quova authentication details
49   #quova_username: ""
50   #quova_password: ""
51   # Users to show as being nearby
52   nearby_users: 30
53   # Max radius, in km, for nearby users
54   nearby_radius: 50
55   # Spam threshold
56   spam_threshold: 50
57   # Default legale (jurisdiction location) for contributor terms
58   default_legale: GB
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   # Log file to use for logstash
67   #logstash_path: ""
68   # List of memcache servers to use for caching
69   #memcache_servers: []
70   # Enable legacy OAuth 1.0 support
71   oauth_10_support: true
72   # URL of Nominatim instance to use for geocoding
73   nominatim_url: "//nominatim.openstreetmap.org/"
74   # Default editor
75   default_editor: "id"
76   # OAuth consumer key for Potlatch 2
77   #potlatch2_key: ""
78   # OAuth consumer key for the web site
79   #oauth_key: ""
80   # OAuth consumer key for iD
81   #id_key: ""
82   # Whether to require users to view the CTs before continuing to edit...
83   require_terms_seen: false
84   # Whether to require users to agree to the CTs before editing
85   require_terms_agreed: false
86   # Imagery to return in capabilities as blacklisted
87   imagery_blacklist:
88     - ".*\\.googleapis\\.com/.*"
89     - ".*\\.google\\.com/.*"
90     - ".*\\.google\\.ru/.*"
91   # URL of Overpass instance to use for feature queries
92   overpass_url: "//overpass-api.de/api/interpreter"
93   # External authentication credentials
94   #google_auth_id: ""
95   #google_auth_secret: ""
96   #google_openid_realm: ""
97   #facebook_auth_id: ""
98   #facebook_auth_secret: ""
99   #windowslive_auth_id: ""
100   #windowslive_auth_secret: ""
101
102 development:
103   <<: *defaults
104
105 production:
106   <<: *defaults
107
108 test:
109   <<: *defaults
110   # Geonames credentials for testing
111   geonames_username: "dummy"
112   # External authentication credentials for testing
113   google_auth_id: "dummy"
114   google_auth_secret: "dummy"
115   google_openid_realm: "https://www.openstreetmap.org"
116   facebook_auth_id: "dummy"
117   facebook_auth_secret: "dummy"
118   windowslive_auth_id: "dummy"
119   windowslive_auth_secret: "dummy"