This repository has been archived by the owner on Mar 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.config.yml
81 lines (78 loc) · 1.97 KB
/
example.config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
web:
port: ${PORT:-8080}
baseurl: ${BASEURL:-http://localhost:8080}
allow_cors: true
global_search_config:
default_read_timeout: 0.5
connect_timeout: 0.1
min_query_length: 3
max_results_per_endpoint: 12
results_type: equal_until_max
total_max_results: 15
search_endpoints:
- type: Typeahead
url: https://acc.api.data.amsterdam.nl/atlas/typeahead/bag/
- type: Typeahead
url: https://acc.api.data.amsterdam.nl/handelsregister/typeahead/
- type: Typeahead
url: https://acc.api.data.amsterdam.nl/atlas/typeahead/brk/
- type: Typeahead
url: https://acc.api.data.amsterdam.nl/atlas/typeahead/gebieden/
- type: Typeahead
url: https://acc.api.data.amsterdam.nl/meetbouten/typeahead/
- type: DCATAms
url: https://acc.api.data.amsterdam.nl/dcatd/datasets
- type: Typeahead
url: https://acc.api.data.amsterdam.nl/monumenten/typeahead/
max_results: 6
logging:
formatters:
default:
format: '%(asctime)s %(levelname)-8s %(module)s:%(lineno)d: %(message)s'
handlers:
aiohttp.access:
class: logging.StreamHandler
console:
class: logging.StreamHandler
formatter: default
loggers:
# See also: <http://aiohttp.readthedocs.io/en/stable/logging.html>
aiohttp:
propagate: true
aiohttp.*:
propagate: true
aiohttp.access:
handlers:
- aiohttp.access
level: ${LOGLEVEL:-DEBUG}
propagate: false
aiohttp_extras:
handlers:
- console
level: ${LOGLEVEL:-DEBUG}
propagate: false
config_loader:
handlers:
- console
level: ${LOGLEVEL:-DEBUG}
propagate: false
typeahead:
handlers:
- console
level: ${LOGLEVEL:-DEBUG}
propagate: false
typeahead.metrics:
handlers:
- console
level: ${LOGLEVEL:-DEBUG}
propagate: false
plugin.storage.postgres:
handlers:
- console
level: ${LOGLEVEL:-DEBUG}
propagate: false
root:
handlers:
- console
level: ${LOGLEVEL:-WARNING}
version: 1