-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
201 lines (181 loc) · 12.2 KB
/
.env.example
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
####################################
#### ####
#### Data source ####
#### ####
####################################
# wikidata_country: Optional, Q-ID of the Wikidata entity of the country, used to filter Wikidata elements through P17
# Used only by the front-end, not by the Airflow data initialization pipeline
owmf_wikidata_country=
# osm_country: Optional, ID of the OpenStreetMap relation of the country used to filter OSM elements
# Used only by the front-end, not by the Airflow data initialization pipeline
owmf_osm_country=
# source_presets: Optional, names of the source presets (/public/presets/*.json) to use for the map
# If not specified, only settings in the .env file will be used
# If specified, on the front-end settings in the source_presets will be used while data source settings in the .env file will be IGNORED
# If specified with value "all", all source presets will be used
# In the Airflow data initialization pipeline this setting is IGNORED, only settings in the .env file will be used
owmf_source_presets=etymology
# osm_filter_tags: Optional, OSM tags to use for filtering the results; for optimal performance if you initialize the DB from OSM PBF dump sort the tags from the most frequent to the least frequent
#owmf_osm_filter_tags='["name=*","historic=tomb","cemetery=grave"]'
# osm_text_key: Optional, OSM key whose value contains the name of the etymology
#owmf_osm_text_key=name:etymology
# osm_description_key: Optional, OSM key whose value contains the description of the etymology
#owmf_osm_description_key=name:etymology:description
# osm_wikidata_keys: Optional, OSM keys which connect the etymology subject (map element) to the etymology object (popup element)
#owmf_osm_wikidata_keys='["name:etymology:wikidata","subject:wikidata","buried:wikidata"]'
# osm_wikidata_properties: Optional, P-IDs of the Wikidata properties which connect the etymology subject (map element) to the etymology object (popup element)
#owmf_osm_wikidata_properties='["P138","P825","P547"]'
# fetch_parts_of_linked_entities: Optional (default: false), whether to fetch parts of linked entities (e.g. the members of a duo)
#owmf_fetch_parts_of_linked_entities=true
# wikidata_indirect_property: Optional, P-ID of the Wikidata property which connects the etymology object (popup element) with a relation whose P625 qualifier identifies the coordinates of the etymology subject (map element)
#owmf_wikidata_indirect_property=P119
# wikidata_image_property: Optional, P-ID of the Wikidata property which points to a Wikimedia Commons image of the etymology subject (map element)
#owmf_wikidata_image_property=P1442
# mapcomplete_theme: Optional, MapComplete theme to link to from the button in the feature details popup
#owmf_mapcomplete_theme=
####################################
#### ####
#### Front-end ####
#### ####
####################################
##### Map background #####
# mapbox_token: Optional, Mapbox API access token
# See https://docs.mapbox.com/help/getting-started/access-tokens/
# Create your token at https://account.mapbox.com/access-tokens/
owmf_mapbox_token=
# maptiler_key: Optional, Maptiler API key
# See https://docs.maptiler.com/cloud/api/authentication-key/
# Create your key at https://cloud.maptiler.com/account/keys/
owmf_maptiler_key=
# enable_stadia_maps: Optional, switch to enable Stadia maps vector tiles
# See https://docs.stadiamaps.com/authentication/
# If you access your OWMF instance from http://localhost or http://127.0.0.1 it should work out of the box
# Before enabling in a deployed instance, create a property for your domain at https://client.stadiamaps.com/dashboard/#/property/create
owmf_enable_stadia_maps=true
# maptiler_key: Optional, Jawg maps API key
# See https://www.jawg.io/docs/apidocs/maps/dynamic-maps/#endpoint-to-use
# Create your token at https://www.jawg.io/lab/access-tokens
owmf_jawg_token=
##### Map behavior #####
# threshold_zoom_level: Required >0, zoom level at which to switch from clustered result to individual elements
owmf_threshold_zoom_level=12
# min_zoom_level: Required >0, minimum zoom level to fetch any data (below this zoom the global clustered data will be shown)
owmf_min_zoom_level=9
# min_lon: Optional, minimum longitude for the map
owmf_min_lon=
# max_lon: Optional, maximum longitude for the map
owmf_max_lon=
# min_lat: Optional, minimum latitude for the map
owmf_min_lat=
# max_lat: Optional, maximum latitude for the map
owmf_max_lat=
# Whether to enable the integration of Wikispore buttons and description fetching
owmf_wikispore_enable=false
# Whether to enable the Content Security Policy headers
owmf_csp_enable=false
##### Map defaults #####
# default_center_lat: Required, default latitude for map center
owmf_default_center_lat=30
# default_center_lon: Required, default longitude for map center
owmf_default_center_lon=15
# default_zoom: Required >0, default zoom level for map center
owmf_default_zoom=2
# default_language: Required, ISO 639-1 language code for the default language (https://www.fincher.org/Utilities/CountryLanguageList.shtml)
owmf_default_language=en
# default_background_style: Required, default background style for the map
owmf_default_background_style=stamen_toner_lite
# default_color_scheme: Required, default color scheme for the map
owmf_default_color_scheme=etymology_source
# qlever_enable: Optional, whether to enable QLever as possible source
owmf_qlever_enable=true
# preferred_backends: Optional, back-end IDs to be preferred when automatically selecting the default back-end
owmf_preferred_backends=["pmtiles_all","overpass_all_wd+wd_direct","overpass_all_wd+wd_indirect","overpass_wd+wd_base"]
# pmtiles_preset: Optional, source preset ID for which is initialized the pmtiles base URL later specified
owmf_pmtiles_preset=etymology
# pmtiles_base_url: Optional, base URL of the PMTiles file to use as vector tiles, ending with a slash
owmf_pmtiles_base_url=https://etymology.dsantini.it/
##### Web infobox and taginfo.json #####
# i18n_override: Optional, i18n strings to overwrite the default strings in public/locales/*/common.json
# Must be in a JSON format supported by i18next-resources-to-backend, with "app" as namespace (see front-end/i18n.example.json)
# It's reccomended to place the i18n JSON inside the file i18n.json rather than here
owmf_i18n_override="{\"de\":{\"app\":{\"title\":\"Open Etymology Map\",\"description\":\"Interaktive Karte, die die Etymologie der Namen von Straßen und Sehenswürdigkeiten auf der Grundlage von OpenStreetMap und Wikidata anzeigt.\"}},\"en\":{\"app\":{\"title\":\"Open Etymology Map\",\"description\":\"Interactive map that shows the etymology of names of streets and points of interest based on OpenStreetMap and Wikidata.\"}},\"es\":{\"app\":{\"title\":\"Open Etymology Map\",\"description\":\"Mapa interactivo que muestra la etimología de nombres de calles y puntos de interés basado en OpenStreetMap y Wikidata.\"}},\"fr\":{\"app\":{\"title\":\"Open Etymology Map\",\"description\":\"Carte interactive qui montre l'étymologie des noms de rues et de points d'intérêt basée sur OpenStreetMap et Wikidata.\"}},\"it\":{\"app\":{\"title\":\"Open Etymology Map\",\"description\":\"Mappa interattiva che visualizza l'etimologia dei nomi di strade e punti di interesse, basata su OpenStreetMap e Wikidata.\"}},\"da\":{\"app\":{\"title\":\"Open Etymology Map\",\"description\":\"Interaktivt kort, der viser etymologien bag navne på gader og interessepunkter, baseret på OpenStreetMap og Wikidata.\"}}}"
# home_url: Required, homepage of the project
owmf_home_url=https://etymology.dsantini.it
# issues_url: Required, link to the issue tracker
owmf_issues_url=https://gitlab.com/openetymologymap/open-etymology-map/-/issues
# propagation_docs_url: Required, link to a documentation about how data is propagated
owmf_propagation_docs_url=https://gitlab.com/openetymologymap/osm-wikidata-map-framework/-/blob/main/CONTRIBUTING.md#propagation
# keywords: Optional, keywords for the project
owmf_keywords='etymology,etymologie,etimoloji,hodonyms,odonymy,odonomastica,odonimia,odonimi,Straßenname,odónimo,odonymie,straatnaam,odoniemen,toponym,toponymy,toponimi,toponomastica,toponymie,Ortsname,urban,city,streets,street names,OpenStreetMap,Wikidata,map,mappa,karte,open data,linked data,structured data,street,place,poi,point of interest'
# contact_name: Required for taginfo.json, name of the person responsible for the app
owmf_contact_name='Daniele Santini'
# contact_email: Required for taginfo.json, email of the person responsible for the app
owmf_contact_email=danysan95+taginfo@gmail.com
##### Sentry JS #####
# sentry_js_dsn: Optional, Sentry JS DSN ( https://docs.sentry.io/platforms/javascript/ )
owmf_sentry_js_dsn=
# sentry_js_env: Optional, Sentry JS environment
owmf_sentry_js_env=
# sentry_js_uri: Optional, Sentry JS Content Security Policy report URI ( https://docs.sentry.io/product/security-policy-reporting/ )
owmf_sentry_js_uri=
# sentry_js_replays_session_sample_rate: Optional, Sentry JS session replay sample rate ( https://docs.sentry.io/platforms/javascript/session-replay/ )
owmf_sentry_js_replays_session_sample_rate=0
# sentry_js_replays_on_error_sample_rate: Optional, Sentry JS session replay sample rate
owmf_sentry_js_replays_on_error_sample_rate=1
##### Statistics #####
# google_analytics_id: Optional, Google Analytics GTAG ID
owmf_google_analytics_id=
# matomo_domain: Optional, Matomo instance URL
owmf_matomo_domain=
# matomo_id: Optional, Matomo site ID
owmf_matomo_id=
##### PayPal donation button #####
# liberapay_id: Optional, Liberapay username for the donation button
owmf_liberapay_id=
# paypal_id: Optional, PayPal business ID for the donation button
owmf_paypal_id=
##### Wikidata API options #####
# wikidata_endpoint: Required, URL of Wikidata SPARQL endpoint (https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service#Interfacing)
owmf_wikidata_endpoint=https://query.wikidata.org
# max_map_elements: Optional >0, maximum number of map elements to fetch beyond the threshold zoom level (applies to all sources)
owmf_max_map_elements=8000
# max_relation_members: Optional >0, maximum number of relation members to fetch
owmf_max_relation_members=800
##### Overpass API options #####
# overpass_endpoints: Required, URL of Overpass API endpoints (https://wiki.openstreetmap.org/wiki/Overpass_API#Public_Overpass_API_instances)
owmf_overpass_endpoints='["https://overpass-api.de/api/"]'
# sitemap_url: Optional, URL of the sitemap to use for the sitemap.xml file
owmf_sitemap_url=https://www.dsantini.it/sitemap.xml
####################################################
#### ####
#### Docker-compose deployment ####
#### ####
####################################################
# web_http_port: Optional, port where to expose the web application on HTTP when deployed with Docker Compose in development and production
owmf_web_http_port=80
# framework_image_tag: Optional, version of OSM-Wikidata Map Framework to use when deployed with Docker Compose in production (one of the image tags in https://gitlab.com/openetymologymap/osm-wikidata-map-framework/container_registry/3939048 )
owmf_framework_image_tag=v4.0.8
####################################
#### ####
#### Apache Airflow ####
#### ####
####################################
##### Airflow settings, used for DB initialization, unnecessary for a web-only instance #####
AIRFLOW_IMAGE_NAME=registry.gitlab.com/openetymologymap/osm-wikidata-map-framework/airflow
AIRFLOW_UID=50000
#AIRFLOW_PROJ_DIR=.
##### Database connection options #####
# db_host: Optional, host of the DBMS
owmf_db_host=owmf-postgis
# db_port: Optional, port of the DBMS
owmf_db_port=5432
# db_user: Optional, user of the DBMS
owmf_db_user=owmf
# db_password: Optional, password of the DBMS
owmf_db_password=_CHANGE_ME_
# db_database: Optional, database to use in the DBMS
owmf_db_database=owmf
# propagate_data: Optional ("global", "local" or false, default: false), whether etymologies should be propagated
owmf_propagate_data=global
# pgadmin_port: Optional, port where to expose pgAdmin when deployed with Docker Compose in development
owmf_pgadmin_port=8000