Improved entrypoint.sh

This commit is contained in:
Ton Snoei 2023-03-20 22:34:11 +01:00
parent 64ce31e55f
commit b5af02885b

View File

@ -6,7 +6,7 @@ if [ ! -d "/photon/photon_data/elasticsearch" ]; then
echo "Downloading search index"
# Let graphhopper know where the traffic is coming from
USER_AGENT="docker: thomasnordquist/photon-geocoder"
USER_AGENT="docker: tonsnoei/photon-geocoder"
# If you want to install a specific region only, enable the line below and disable the current 'wget' row.
# Take a look at http://download1.graphhopper.com/public/extracts/by-country-code for your country
# wget --user-agent="$USER_AGENT" -O - http://download1.graphhopper.com/public/extracts/by-country-code/nl/photon-db-nl-latest.tar.bz2 | bzip2 -cd | tar x