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