]> git.openstreetmap.org Git - rails.git/blob - config/example.application.yml
Update Potlatch 2 to 2.4-4-g37a0924 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   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   # 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: "//nominatim.openstreetmap.org/"
72   # Default editor
73   default_editor: "id"
74   # OAuth consumer key for Potlatch 2
75   #potlatch2_key: ""
76   # OAuth consumer key for the web site
77   #oauth_key: ""
78   # OAuth consumer key for iD
79   #id_key: ""
80   # Whether to require users to view the CTs before continuing to edit...
81   require_terms_seen: false
82   # Whether to require users to agree to the CTs before editing
83   require_terms_agreed: false
84   # Imagery to return in capabilities as blacklisted
85   imagery_blacklist:
86     - ".*\\.googleapis\\.com/.*"
87     - ".*\\.google\\.com/.*"
88     - ".*\\.google\\.ru/.*"
89   # URL of Overpass instance to use for feature queries
90   overpass_url: "//overpass-api.de/api/interpreter"
91   # External authentication credentials
92   #google_auth_id: ""
93   #google_auth_secret: ""
94   #google_openid_realm: ""
95   #facebook_auth_id: ""
96   #facebook_auth_secret: ""
97   #windowslive_auth_id: ""
98   #windowslive_auth_secret: ""
99
100 development:
101   <<: *defaults
102
103 production:
104   <<: *defaults
105
106 test:
107   <<: *defaults
108   # Geonames credentials for testing
109   geonames_username: "dummy"
110   # External authentication credentials for testing
111   google_auth_id: "dummy"
112   google_auth_secret: "dummy"
113   google_openid_realm: "https://www.openstreetmap.org"
114   facebook_auth_id: "dummy"
115   facebook_auth_secret: "dummy"
116   windowslive_auth_id: "dummy"
117   windowslive_auth_secret: "dummy"