]> git.openstreetmap.org Git - rails.git/blob - config/settings.yml
Merge pull request #3933 from AntonKhorev/api-changesets-limit
[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 # Maximum number of members that can be in a relation (checked on save)
35 max_number_of_relation_members: 32000
36 # The maximum area you're allowed to request notes from, in square degrees
37 max_note_request_area: 25
38 # Zoom level to use for postcode results from the geocoder
39 postcode_zoom: 15
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, 168, 336, 731, 4383, 8766, 87660]
46 # Rate limit for message sending
47 max_messages_per_hour: 60
48 # Rate limit for friending
49 max_friends_per_hour: 60
50 # Domain for handling message replies
51 #messages_domain: "messages.openstreetmap.org"
52 # MaxMind GeoIPv2 database
53 #maxmind_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 # Delay diary entries from appearing in the feed for this many hours
61 diary_feed_delay: 0
62 # Default legale (jurisdiction location) for contributor terms
63 default_legale: GB
64 # Location of data for attachments
65 attachments_dir: ":rails_root/public/attachments"
66 # Log file to use
67 #log_path: ""
68 # Log file to use for logstash
69 #logstash_path: ""
70 # List of memcache servers to use for caching
71 #memcache_servers: []
72 # Enable HTTP basic authentication support
73 basic_auth_support: true
74 # Enable legacy OAuth 1.0 support
75 oauth_10_support: true
76 # URL of Nominatim instance to use for geocoding
77 nominatim_url: "https://nominatim.openstreetmap.org/"
78 # Default editor
79 default_editor: "id"
80 # OAuth application for the web site
81 #oauth_application: ""
82 # OAuth application for iD
83 #id_application: ""
84 # Imagery to return in capabilities as blacklisted
85 imagery_blacklist: []
86 # URL of Overpass instance to use for feature queries
87 overpass_url: "https://overpass-api.de/api/interpreter"
88 overpass_credentials: false
89 # Routing endpoints
90 graphhopper_url: "https://graphhopper.com/api/1/route"
91 fossgis_osrm_url: "https://routing.openstreetmap.de/"
92 fossgis_valhalla_url: "https://valhalla1.openstreetmap.de/route"
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 #github_auth_id: ""
102 #github_auth_secret: ""
103 #wikipedia_auth_id: ""
104 #wikipedia_auth_secret: ""
105 # Thunderforest authentication details
106 #thunderforest_key: ""
107 # Key for generating TOTP tokens
108 #totp_key: ""
109 # Enforce Content-Security-Policy
110 csp_enforce: false
111 # URL for reporting Content-Security-Policy violations
112 #csp_report_url: ""
113 # Storage services to use in production mode
114 avatar_storage: "local"
115 trace_file_storage: "local"
116 trace_image_storage: "local"
117 trace_icon_storage: "local"
118 # Root URL for storage services
119 # avatar_storage_url:
120 # trace_image_storage_url:
121 # trace_icon_storage_url:
122 # URL for tile CDN
123 #tile_cdn_url: ""
124 # SMTP settings for outbound mail
125 smtp_address: "localhost"
126 smtp_port: 25
127 smtp_domain: "localhost"
128 smtp_enable_starttls_auto: true
129 smtp_tls_verify_mode: "none"
130 smtp_authentication: null
131 smtp_user_name: null
132 smtp_password: null
133 # Matomo settings for analytics
134 #matomo: