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