]> git.openstreetmap.org Git - rails.git/blob - config/settings.yml
33b5bfb3246b4552ea7b77302997efb7f7b82e92
[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 # Expected services restoration date added to offline flash messages
27 #status_expected_restore_date: "2024-12-18 12:00:00Z"
28 # Application status announcement url added to offline flash messages
29 #status_announcement_url: "https://en.osm.town/@osm_tech"
30 # The maximum area you're allowed to request, in square degrees
31 max_request_area: 0.25
32 # Number of GPS trace/trackpoints returned per-page
33 tracepoints_per_page: 5000
34 # Default limit on the number of changesets returned by the changeset query api method
35 default_changeset_query_limit: 100
36 # Maximum limit on the number of changesets returned by the changeset query api method
37 max_changeset_query_limit: 100
38 # Default limit on the number of changeset comments in feeds
39 default_changeset_comments_feed_query_limit: 100
40 # Maximum limit on the number of changesets comments in feeds
41 max_changeset_comments_feed_query_limit: 10000
42 # Maximum number of nodes that will be returned by the api in a map request
43 max_number_of_nodes: 50000
44 # Maximum number of nodes that can be in a way (checked on save)
45 max_number_of_way_nodes: 2000
46 # Maximum number of members that can be in a relation (checked on save)
47 max_number_of_relation_members: 32000
48 # The maximum area you're allowed to request notes from, in square degrees
49 max_note_request_area: 25
50 # Default limit on the number of notes returned by the note search api method
51 default_note_query_limit: 100
52 # Maximum limit on the number of notes returned by the note search api method
53 max_note_query_limit: 10000
54 # Maximum value of open issues counter for moderators, anything equal or greater to this value "n" is shown as "n+"
55 max_issues_count: 99
56 # Maximum number of points in a GPX trace
57 max_trace_size: 1000000
58 # Zoom level to use for postcode results from the geocoder
59 postcode_zoom: 15
60 # Timeout for API calls in seconds
61 api_timeout: 300
62 # Timeout for web pages in seconds
63 web_timeout: 30
64 # Periods (in hours) which are allowed for user blocks
65 user_block_periods: [0, 1, 3, 6, 12, 24, 48, 96, 168, 336, 731, 4383, 8766, 87660]
66 # 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
67 user_account_deletion_delay: null
68 # Rate limit for message sending
69 max_messages_per_hour: 60
70 # Default limit on the number of messages returned by inbox and outbox message api
71 default_message_query_limit: 100
72 # Maximum number of messages returned by inbox and outbox message api
73 max_message_query_limit: 100
74 # Rate limit for following
75 max_follows_per_hour: 60
76 # Rate limit for changeset comments
77 min_changeset_comments_per_hour: 1
78 initial_changeset_comments_per_hour: 6
79 max_changeset_comments_per_hour: 60
80 comments_to_max_changeset_comments: 200
81 moderator_changeset_comments_per_hour: 36000
82 # Rate limit for changes
83 min_changes_per_hour: 100
84 initial_changes_per_hour: 1000
85 max_changes_per_hour: 100000
86 days_to_max_changes: 7
87 importer_changes_per_hour: 1000000
88 moderator_changes_per_hour: 1000000
89 # Size limit for changes
90 min_size_limit: 10000000
91 initial_size_limit: 30000000
92 max_size_limit: 5400000000
93 days_to_max_size_limit: 28
94 importer_size_limit: 5400000000
95 moderator_size_limit: 5400000000
96 # Domain for handling message replies
97 #messages_domain: "messages.openstreetmap.org"
98 # MaxMind GeoIPv2 database
99 #maxmind_database: ""
100 # Users to show as being nearby
101 nearby_users: 30
102 # Max radius, in km, for nearby users
103 nearby_radius: 50
104 # Spam threshold
105 spam_threshold: 50
106 # Delay diary entries from appearing in the feed for this many hours
107 diary_feed_delay: 0
108 # Default legale (jurisdiction location) for contributor terms
109 default_legale: GB
110 # Location of data for attachments
111 attachments_dir: ":rails_root/public/attachments"
112 # Log file to use
113 #log_path: ""
114 # Log file to use for logstash
115 #logstash_path: ""
116 # List of memcache servers to use for caching
117 #memcache_servers: []
118 # URL of Nominatim instance to use for geocoding
119 nominatim_url: "https://nominatim.openstreetmap.org/"
120 # Default editor
121 default_editor: "id"
122 # OAuth application for the web site
123 #oauth_application: ""
124 # OAuth application for iD
125 #id_application: ""
126 # Imagery to return in capabilities as blacklisted
127 imagery_blacklist: []
128 # URL of Overpass instance to use for feature queries
129 overpass_url: "https://overpass-api.de/api/interpreter"
130 overpass_credentials: false
131 # Routing endpoints
132 graphhopper_url: "https://graphhopper.com/api/1/route"
133 fossgis_osrm_url: "https://routing.openstreetmap.de/"
134 fossgis_valhalla_url: "https://valhalla1.openstreetmap.de/route"
135 # External authentication credentials
136 #google_auth_id: ""
137 #google_auth_secret: ""
138 #google_openid_realm: ""
139 #facebook_auth_id: ""
140 #facebook_auth_secret: ""
141 #github_auth_id: ""
142 #github_auth_secret: ""
143 #microsoft_auth_id: ""
144 #microsoft_auth_secret: ""
145 #wikipedia_auth_id: ""
146 #wikipedia_auth_secret: ""
147 # Thunderforest authentication details
148 #thunderforest_key: ""
149 # Tracestrack authentication details
150 #tracestrack_key: ""
151 # Key for generating TOTP tokens
152 #totp_key: ""
153 # Enforce Content-Security-Policy
154 csp_enforce: false
155 # URL for reporting Content-Security-Policy violations
156 #csp_report_url: ""
157 # Storage services to use in production mode
158 avatar_storage: "local"
159 trace_file_storage: "local"
160 trace_image_storage: "local"
161 trace_icon_storage: "local"
162 # Root URL for storage services
163 # avatar_storage_url:
164 # trace_image_storage_url:
165 # trace_icon_storage_url:
166 # URL for tile CDN
167 #tile_cdn_url: ""
168 # SMTP settings for outbound mail
169 smtp_address: "localhost"
170 smtp_port: 25
171 smtp_domain: "localhost"
172 smtp_enable_starttls_auto: true
173 smtp_tls_verify_mode: "none"
174 smtp_authentication: null
175 smtp_user_name: null
176 smtp_password: null
177 # Matomo settings for analytics
178 #matomo:
179 # Signup rate limits
180 #signup_ip_per_day:
181 #signup_ip_max_burst:
182 #signup_email_per_day:
183 #signup_email_max_burst:
184 # Private key for signing id_tokens
185 #doorkeeper_signing_key: |
186 #  -----BEGIN PRIVATE KEY-----
187 #  ...
188 #  -----END PRIVATE KEY-----