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