]> git.openstreetmap.org Git - rails.git/blob - config/settings.yml
Merge remote-tracking branch 'upstream/pull/4889'
[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 # 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 # Default limit on the number of notes returned by the note search api method
43 default_note_query_limit: 100
44 # Maximum limit on the number of notes returned by the note search api method
45 max_note_query_limit: 10000
46 # Maximum value of open issues counter for moderators, anything equal or greater to this value "n" is shown as "n+"
47 max_issues_count: 99
48 # Maximum number of points in a GPX trace
49 max_trace_size: 1000000
50 # Zoom level to use for postcode results from the geocoder
51 postcode_zoom: 15
52 # Timeout for API calls in seconds
53 api_timeout: 300
54 # Timeout for web pages in seconds
55 web_timeout: 30
56 # Periods (in hours) which are allowed for user blocks
57 user_block_periods: [0, 1, 3, 6, 12, 24, 48, 96, 168, 336, 731, 4383, 8766, 87660]
58 # Account deletion cooldown period (in hours) since last changeset close; null to disable, 0 to make sure there aren't any open changesets when the deletion happens
59 user_account_deletion_delay: null
60 # Rate limit for message sending
61 max_messages_per_hour: 60
62 # Rate limit for friending
63 max_friends_per_hour: 60
64 # Rate limit for changeset comments
65 min_changeset_comments_per_hour: 1
66 initial_changeset_comments_per_hour: 6
67 max_changeset_comments_per_hour: 60
68 moderator_changeset_comments_per_hour: 36000
69 # Rate limit for changes
70 min_changes_per_hour: 100
71 initial_changes_per_hour: 1000
72 max_changes_per_hour: 100000
73 days_to_max_changes: 7
74 importer_changes_per_hour: 1000000
75 moderator_changes_per_hour: 1000000
76 # Domain for handling message replies
77 #messages_domain: "messages.openstreetmap.org"
78 # MaxMind GeoIPv2 database
79 #maxmind_database: ""
80 # Users to show as being nearby
81 nearby_users: 30
82 # Max radius, in km, for nearby users
83 nearby_radius: 50
84 # Spam threshold
85 spam_threshold: 50
86 # Delay diary entries from appearing in the feed for this many hours
87 diary_feed_delay: 0
88 # Default legale (jurisdiction location) for contributor terms
89 default_legale: GB
90 # Location of data for attachments
91 attachments_dir: ":rails_root/public/attachments"
92 # Log file to use
93 #log_path: ""
94 # Log file to use for logstash
95 #logstash_path: ""
96 # List of memcache servers to use for caching
97 #memcache_servers: []
98 # Enable HTTP basic authentication support
99 basic_auth_support: true
100 # Enable OAuth 1.0/1.0a registration
101 oauth_10_registration: true
102 # Enable legacy OAuth 1.0 support
103 oauth_10_support: true
104 # Enable OAuth 1.0a support
105 oauth_10a_support: true
106 # URL of Nominatim instance to use for geocoding
107 nominatim_url: "https://nominatim.openstreetmap.org/"
108 # Default editor
109 default_editor: "id"
110 # OAuth application for the web site
111 #oauth_application: ""
112 # OAuth application for iD
113 #id_application: ""
114 # Imagery to return in capabilities as blacklisted
115 imagery_blacklist: []
116 # URL of Overpass instance to use for feature queries
117 overpass_url: "https://overpass-api.de/api/interpreter"
118 overpass_credentials: false
119 # Routing endpoints
120 graphhopper_url: "https://graphhopper.com/api/1/route"
121 fossgis_osrm_url: "https://routing.openstreetmap.de/"
122 fossgis_valhalla_url: "https://valhalla1.openstreetmap.de/route"
123 # External authentication credentials
124 #google_auth_id: ""
125 #google_auth_secret: ""
126 #google_openid_realm: ""
127 #facebook_auth_id: ""
128 #facebook_auth_secret: ""
129 #github_auth_id: ""
130 #github_auth_secret: ""
131 #microsoft_auth_id: ""
132 #microsoft_auth_secret: ""
133 #wikipedia_auth_id: ""
134 #wikipedia_auth_secret: ""
135 # Thunderforest authentication details
136 #thunderforest_key: ""
137 # Tracestrack authentication details
138 #tracestrack_key: ""
139 # Key for generating TOTP tokens
140 #totp_key: ""
141 # Enforce Content-Security-Policy
142 csp_enforce: false
143 # URL for reporting Content-Security-Policy violations
144 #csp_report_url: ""
145 # Storage services to use in production mode
146 avatar_storage: "local"
147 trace_file_storage: "local"
148 trace_image_storage: "local"
149 trace_icon_storage: "local"
150 # Root URL for storage services
151 # avatar_storage_url:
152 # trace_image_storage_url:
153 # trace_icon_storage_url:
154 # URL for tile CDN
155 #tile_cdn_url: ""
156 # SMTP settings for outbound mail
157 smtp_address: "localhost"
158 smtp_port: 25
159 smtp_domain: "localhost"
160 smtp_enable_starttls_auto: true
161 smtp_tls_verify_mode: "none"
162 smtp_authentication: null
163 smtp_user_name: null
164 smtp_password: null
165 # Matomo settings for analytics
166 #matomo:
167 # Signup rate limits
168 #signup_ip_per_day:
169 #signup_ip_max_burst:
170 #signup_email_per_day:
171 #signup_email_max_burst:
172 # Private key for signing id_tokens
173 #doorkeeper_signing_key: |
174 #  -----BEGIN PRIVATE KEY-----
175 #  ...
176 #  -----END PRIVATE KEY-----