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