We need few environment variables to run osm_poi_matchmaker in a container and make configuration changes on-the-fly.
You can specify these environment variables to use instead of configured parameters in "app.conf" file:
OPM_DIRECTORY_OUTPUT
Specify the output directory for processed and exported data (OSM and CSV files). This is the output directory.
OPM_DIRECTORY_CACHE_URL
Specify the cache directory for downloaded external data (HTML,JS,CSV files).
OPM_DATABASE_TYPE
Specify the supported a supported database for storing and matched data. Since OSM POI Matchmaker is using PostGIS,
only "postgresql" is supported and tested this time. Default value is: "postgresql".
OPM_DATABASE_WRITE_HOST
Hostname or IP address of database server. Default value is "localhost".
OPM_DATABASE_WRITE_PORT
The connection port of database server. Default value is "5432".
OPM_DATABASE_WRITE_USERNAME
The user name of wrinting user for the database connection. Default value is "poi".
OPM_DATABASE_WRITE_PASSWORD
The password of wrinting user for the database connection. Default value is "poitest".
OPM_DATABASE_POI_DATABASE
The database name where wrinting user will connect to the database connection. Default value is "poi".
OPM_DATAPROVIDERS_MODULES_AVAILABLE
Comma separated list of available data providers module from "dataprovider" folder.
Default values are:
hu_aldi,hu_avia,hu_benu,hu_budapest_bank,hu_cba,hu_cib_bank,hu_dm,hu_foxpost,hu_kh_bank,hu_kulcs_patika,hu_mobil_petrol,
hu_mol_bubi,hu_mol,hu_omv,hu_penny_market,hu_pepco,hu_posta_json,hu_posta,hu_rossmann,hu_shell,hu_spar,hu_tesco,hu_tom_market
OPM_DATAPROVIDERS_MODULES_ENABLE
Comma separated list of available data providers module from "dataprovider" folder.
Only the enabled data providers will have import during the run,but all imported files will be exported.
Default values are:
hu_posta,hu_aldi,hu_avia,hu_benu,hu_budapest_bank,hu_cba,hu_cib_bank,hu_dm,hu_foxpost,hu_kh_bank,hu_kulcs_patika,hu_mobil_petrol,
hu_mol_bubi,hu_mol,hu_omv,hu_penny_market,hu_pepco,hu_posta_json,hu_rossmann,hu_shell,hu_spar,hu_tesco,hu_tom_market
We need few environment variables to run osm_poi_matchmaker in a container and make configuration changes on-the-fly.
You can specify these environment variables to use instead of configured parameters in "app.conf" file:
Specify the output directory for processed and exported data (OSM and CSV files). This is the output directory.
Specify the cache directory for downloaded external data (HTML,JS,CSV files).
Specify the supported a supported database for storing and matched data. Since OSM POI Matchmaker is using PostGIS, only "postgresql" is supported and tested this time. Default value is: "postgresql".
Hostname or IP address of database server. Default value is "localhost".
The connection port of database server. Default value is "5432".
The user name of wrinting user for the database connection. Default value is "poi".
The password of wrinting user for the database connection. Default value is "poitest".
The database name where wrinting user will connect to the database connection. Default value is "poi".
Comma separated list of available data providers module from "dataprovider" folder. Default values are: hu_aldi,hu_avia,hu_benu,hu_budapest_bank,hu_cba,hu_cib_bank,hu_dm,hu_foxpost,hu_kh_bank,hu_kulcs_patika,hu_mobil_petrol, hu_mol_bubi,hu_mol,hu_omv,hu_penny_market,hu_pepco,hu_posta_json,hu_posta,hu_rossmann,hu_shell,hu_spar,hu_tesco,hu_tom_market
Comma separated list of available data providers module from "dataprovider" folder. Only the enabled data providers will have import during the run,but all imported files will be exported. Default values are: hu_posta,hu_aldi,hu_avia,hu_benu,hu_budapest_bank,hu_cba,hu_cib_bank,hu_dm,hu_foxpost,hu_kh_bank,hu_kulcs_patika,hu_mobil_petrol, hu_mol_bubi,hu_mol,hu_omv,hu_penny_market,hu_pepco,hu_posta_json,hu_rossmann,hu_shell,hu_spar,hu_tesco,hu_tom_market