This repository has been archived by the owner on Jun 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
/
default_config.yml
99 lines (82 loc) · 2.25 KB
/
default_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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
PORT: 3000
envName: # optional environment name (ex: 'Local', 'Dev') displayed in the page title. Keep empty for production.
# Feature flags for experimental features
features:
ecoResponsiblePlaces: false
# Server
server:
maxBodySize: '5KB' # max request body size on POST
acceptPostedLogs: true
acceptPostedEvents: true
enablePrometheus: true
services:
idunn:
url: # client url will be used by default
timeout: 2000 # ms
logger:
headersWhitelistEnabled: true
disableBurgerMenu:
clientRule: override_by_environment
# NB: `routerBaseUrl` may be different from `system.baseUrl` if a proxy is responsible for rewriting URLs
routerBaseUrl: / # path prefix expected by the express server
useGeoipForInitialPosition: true
unsupportedBrowsers:
redirect: false
clientHashFallback: override_by_environment
# Services
services:
geocoder:
url: override_by_environment
useLang: true
maxItems: 7
useFocus: true
focusPrecision: '[{"zoom":"7","precision":"0.1"},{"zoom":"11","precision":"0.01"},{"zoom":"14","precision":"0.001"}]' # lat/lon degrees
focusZoomPrecision: '1.0'
useNlu: false
idunn:
url: override_by_environment
# System
system:
baseUrl: / # path prefix used in the application URLs (ends with '/')
timeout: 3
# Map style
mapStyle:
baseMapUrl: override_by_environment
poiMapUrl: override_by_environment
spritesUrl: /mapstyle/
fontsUrl: /mapstyle/font/
maxAge: '15m' # string accepted by the ms module, or milliseconds
showNamesWithPins: true
mapPlugins:
maxAge: '60s' # string accepted by the ms module, or milliseconds
statics:
maxAge: 0 # string accepted by the ms module, or milliseconds
burgerMenu:
enabled: true
products: false
performance:
enabled: false
telemetry:
enabled: true
sendQueryContextHeaders: true
direction:
enabled: false
timeout: 10 #s
service:
api: 'mapbox' # 'mapbox' or 'qwant'
apiBaseUrl: https://api.mapbox.com/directions/v5/mapbox/
token: '' # for 'mapbox' only
publicTransport:
enabled: false
category:
maxPlaces: 40
events:
enabled: false
maxPlaces: 40
userFeedback:
enabled: false
dismissDurationDays: 30
searchHistory:
enabled: override_by_environment
survey:
surveyApiUrl: override_by_environment