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