klokantech / osmnames-sphinxsearch

Geocoder search engine for OSMNames.org data powered by sphinx search
https://osmnames.org/
MIT License
77 stars 24 forks source link

Using your own data #61

Closed MoustafaMahgoub closed 6 years ago

MoustafaMahgoub commented 6 years ago

I am typing this command to work with docker file but it returns the sample data everytime ; my docker command is docker run -d --name klokantech-osmnames-sphinxsearch -v /Users/mma/Desktop/osmnames-sphinxsearch-master/data/index:/data/index/ -v /Users/mma/Desktop/osmnames-sphinxsearch-master/data/input/:/data/input/data.tsv -p 80:80 klokantech/osmnames-sphinxsearch

I am using the data from export of osmnames, and i made directory data/input/data.tsv

MartinMikita commented 6 years ago

Dear Moustafa,

Please, read carefully our README about using docker image.

You have a wrong command for linking input data.tsv. It should be -v /Users/mma/Desktop/osmnames-sphinxsearch-master/data/input/:/data/input/.