1 # The server protocol and host
2 server_protocol: "http"
3 server_url: "openstreetmap.example.com"
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"
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
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 # Default limit on the number of changesets returned by the changeset query api method
31 default_changeset_query_limit: 100
32 # Maximum limit on the number of changesets returned by the changeset query api method
33 max_changeset_query_limit: 100
34 # Maximum number of nodes that will be returned by the api in a map request
35 max_number_of_nodes: 50000
36 # Maximum number of nodes that can be in a way (checked on save)
37 max_number_of_way_nodes: 2000
38 # Maximum number of members that can be in a relation (checked on save)
39 max_number_of_relation_members: 32000
40 # The maximum area you're allowed to request notes from, in square degrees
41 max_note_request_area: 25
42 # Zoom level to use for postcode results from the geocoder
44 # Timeout for API calls in seconds
46 # Timeout for web pages in seconds
48 # Periods (in hours) which are allowed for user blocks
49 user_block_periods: [0, 1, 3, 6, 12, 24, 48, 96, 168, 336, 731, 4383, 8766, 87660]
50 # Rate limit for message sending
51 max_messages_per_hour: 60
52 # Rate limit for friending
53 max_friends_per_hour: 60
54 # Domain for handling message replies
55 #messages_domain: "messages.openstreetmap.org"
56 # MaxMind GeoIPv2 database
58 # Users to show as being nearby
60 # Max radius, in km, for nearby users
64 # Delay diary entries from appearing in the feed for this many hours
66 # Default legale (jurisdiction location) for contributor terms
68 # Location of data for attachments
69 attachments_dir: ":rails_root/public/attachments"
72 # Log file to use for logstash
74 # List of memcache servers to use for caching
76 # Enable HTTP basic authentication support
77 basic_auth_support: true
78 # Enable legacy OAuth 1.0 support
79 oauth_10_support: true
80 # URL of Nominatim instance to use for geocoding
81 nominatim_url: "https://nominatim.openstreetmap.org/"
84 # OAuth application for the web site
85 #oauth_application: ""
86 # OAuth application for iD
88 # Imagery to return in capabilities as blacklisted
90 # URL of Overpass instance to use for feature queries
91 overpass_url: "https://overpass-api.de/api/interpreter"
92 overpass_credentials: false
94 graphhopper_url: "https://graphhopper.com/api/1/route"
95 fossgis_osrm_url: "https://routing.openstreetmap.de/"
96 fossgis_valhalla_url: "https://valhalla1.openstreetmap.de/route"
97 # External authentication credentials
99 #google_auth_secret: ""
100 #google_openid_realm: ""
101 #facebook_auth_id: ""
102 #facebook_auth_secret: ""
103 #windowslive_auth_id: ""
104 #windowslive_auth_secret: ""
106 #github_auth_secret: ""
107 #wikipedia_auth_id: ""
108 #wikipedia_auth_secret: ""
109 # Thunderforest authentication details
110 #thunderforest_key: ""
111 # Key for generating TOTP tokens
113 # Enforce Content-Security-Policy
115 # URL for reporting Content-Security-Policy violations
117 # Storage services to use in production mode
118 avatar_storage: "local"
119 trace_file_storage: "local"
120 trace_image_storage: "local"
121 trace_icon_storage: "local"
122 # Root URL for storage services
123 # avatar_storage_url:
124 # trace_image_storage_url:
125 # trace_icon_storage_url:
128 # SMTP settings for outbound mail
129 smtp_address: "localhost"
131 smtp_domain: "localhost"
132 smtp_enable_starttls_auto: true
133 smtp_tls_verify_mode: "none"
134 smtp_authentication: null
137 # Matomo settings for analytics