]> git.openstreetmap.org Git - rails.git/blob - config/example.application.yml
Don't show lat/lon for a deleted node, in case it is redacted
[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   # Memory limits (in Mb)
60   #soft_memory_limit: 512
61   #hard_memory_limit: 2048
62   # Location of GPX traces and images
63   gpx_trace_dir: "/home/osm/traces"
64   gpx_image_dir: "/home/osm/images"
65   # Location of data for attachments
66   attachments_dir: ":rails_root/public/attachments"
67   # Log file to use
68   #log_path: ""
69   # List of memcache servers to use for caching
70   #memcache_servers: []
71   # Enable legacy OAuth 1.0 support
72   oauth_10_support: true
73   # URL of Nominatim instance to use for geocoding
74   nominatim_url: "http://nominatim.openstreetmap.org/"
75   # Default editor
76   default_editor: "id"
77   # OAuth consumer key for Potlatch 2
78   #potlatch2_key: ""
79   # OAuth consumer key for the web site
80   #oauth_key: ""
81   # OAuth consumer key for iD
82   #id_key: ""
83   # Whether to require users to view the CTs before continuing to edit...
84   require_terms_seen: false
85   # Whether to require users to agree to the CTs before editing
86   require_terms_agreed: false
87
88 development:
89   <<: *defaults
90
91 production:
92   <<: *defaults
93
94 test:
95   <<: *defaults