]> git.openstreetmap.org Git - rails.git/blob - config/settings.yml
Localisation updates from https://translatewiki.net.
[rails.git] / config / settings.yml
1 # The server protocol and host
2 server_protocol: "http"
3 server_url: "openstreetmap.example.com"
4 # Publisher
5 #publisher_url: ""
6 # The generator
7 generator: "OpenStreetMap server"
8 copyright_owner: "OpenStreetMap and contributors"
9 attribution_url: "http://www.openstreetmap.org/copyright"
10 license_url: "http://opendatacommons.org/licenses/odbl/1-0/"
11 # Support email address
12 support_email: "openstreetmap@example.com"
13 # Sender addresses for emails
14 email_from: "OpenStreetMap <openstreetmap@example.com>"
15 email_return_path: "openstreetmap@example.com"
16 # API version
17 api_version: "0.6"
18 # Application status - possible values are:
19 #   online - online and operating normally
20 #   api_readonly - site online but API in read-only mode
21 #   api_offline - site online but API offline
22 #   database_readonly - database and site in read-only mode
23 #   database_offline - database offline with site in emergency mode
24 #   gpx_offline - gpx storage offline
25 status: "online"
26 # The maximum area you're allowed to request, in square degrees
27 max_request_area: 0.25
28 # Number of GPS trace/trackpoints returned per-page
29 tracepoints_per_page: 5000
30 # Maximum number of nodes that will be returned by the api in a map request
31 max_number_of_nodes: 50000
32 # Maximum number of nodes that can be in a way (checked on save)
33 max_number_of_way_nodes: 2000
34 # The maximum area you're allowed to request notes from, in square degrees
35 max_note_request_area: 25
36 # Zoom level to use for postcode results from the geocoder
37 postcode_zoom: 15
38 # Zoom level to use for geonames results from the geocoder
39 geonames_zoom: 12
40 # Timeout for API calls in seconds
41 api_timeout: 300
42 # Timeout for web pages in seconds
43 web_timeout: 30
44 # Periods (in hours) which are allowed for user blocks
45 user_block_periods: [0, 1, 3, 6, 12, 24, 48, 96]
46 # Rate limit for message sending
47 max_messages_per_hour: 60
48 # Domain for handling message replies
49 #messages_domain: "messages.openstreetmap.org"
50 # Geonames authentication details
51 #geonames_username: ""
52 # GeoIP database
53 #geoip_database: ""
54 # Users to show as being nearby
55 nearby_users: 30
56 # Max radius, in km, for nearby users
57 nearby_radius: 50
58 # Spam threshold
59 spam_threshold: 50
60 # Default legale (jurisdiction location) for contributor terms
61 default_legale: GB
62 # Use the built-in jobs queue for importing traces
63 # Set to false if you are using the external high-speed gpx importer
64 # https://github.com/openstreetmap/gpx-import
65 trace_use_job_queue: true
66 # Location of GPX traces and images
67 gpx_trace_dir: "/home/osm/traces"
68 gpx_image_dir: "/home/osm/images"
69 # Location of data for attachments
70 attachments_dir: ":rails_root/public/attachments"
71 # Log file to use
72 #log_path: ""
73 # Log file to use for logstash
74 #logstash_path: ""
75 # List of memcache servers to use for caching
76 #memcache_servers: []
77 # Enable legacy OAuth 1.0 support
78 oauth_10_support: true
79 # URL of Nominatim instance to use for geocoding
80 nominatim_url: "https://nominatim.openstreetmap.org/"
81 # Default editor
82 default_editor: "id"
83 # OAuth consumer key for Potlatch 2
84 #potlatch2_key: ""
85 # OAuth consumer key for the web site
86 #oauth_key: ""
87 # OAuth consumer key for iD
88 #id_key: ""
89 # Imagery to return in capabilities as blacklisted
90 imagery_blacklist:
91   # Current Google imagery URLs have google or googleapis in the domain
92   # with a vt or kh endpoint, and x, y and z query parameters
93   - ".*\\.google(apis)?\\..*/(vt|kh)[\\?/].*([xyz]=.*){3}.*"
94   # Blacklist VWorld
95   - "http://xdworld\\.vworld\\.kr:8080/.*"
96   # Blacklist here
97   - ".*\\.here\\.com[/:].*"
98 # URL of Overpass instance to use for feature queries
99 overpass_url: "https://overpass-api.de/api/interpreter"
100 # Routing endpoints
101 graphhopper_url: "https://graphhopper.com/api/1/route"
102 fossgis_osrm_url: "https://routing.openstreetmap.de/"
103 # External authentication credentials
104 #google_auth_id: ""
105 #google_auth_secret: ""
106 #google_openid_realm: ""
107 #facebook_auth_id: ""
108 #facebook_auth_secret: ""
109 #windowslive_auth_id: ""
110 #windowslive_auth_secret: ""
111 #github_auth_id: ""
112 #github_auth_secret: ""
113 #wikipedia_auth_id: ""
114 #wikipedia_auth_secret: ""
115 # Thunderforest authentication details
116 #thunderforest_key: ""
117 # Key for generating TOTP tokens
118 #totp_key: ""
119 # Enforce Content-Security-Policy
120 csp_enforce: false
121 # URL for reporting Content-Security-Policy violations
122 #csp_report_url: ""