diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7136f964..bee1dfc8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,7 +97,7 @@ jobs: -p 8004:8080 \ --name nominatim \ nominatim & - sleep 5 + sleep 25 ./assert-non-empty-json "http://localhost:8004/search.php?q=avenue%20pasteur" ${{ matrix.nominatim.update_command }} ./assert-non-empty-json "http://localhost:8004/search.php?q=avenue%20pasteur" diff --git a/4.4/init.sh b/4.4/init.sh index e3e32f30..b4a351f3 100755 --- a/4.4/init.sh +++ b/4.4/init.sh @@ -11,6 +11,10 @@ if [ -z "$THREADS" ]; then THREADS=$(nproc) fi +# we re-host the files on a Hetzner storage box because inconsiderate users eat up all of +# nominatim.org's bandwidth +# https://github.com/mediagis/nominatim-docker/issues/416 + if [ "$IMPORT_WIKIPEDIA" = "true" ]; then echo "Downloading Wikipedia importance dump" ${SCP}:wikimedia-importance.sql.gz ${PROJECT_DIR}/wikimedia-importance.sql.gz @@ -40,7 +44,7 @@ else fi; if [ "$IMPORT_TIGER_ADDRESSES" = "true" ]; then - ${SCP}:tiger2021-nominatim-preprocessed.csv.tar.gz ${PROJECT_DIR}/tiger-nominatim-preprocessed.csv.tar.gz + ${SCP}:tiger2023-nominatim-preprocessed.csv.tar.gz ${PROJECT_DIR}/tiger-nominatim-preprocessed.csv.tar.gz elif [ -f "$IMPORT_TIGER_ADDRESSES" ]; then # use local file if asked ln -s "$IMPORT_TIGER_ADDRESSES" ${PROJECT_DIR}/tiger-nominatim-preprocessed.csv.tar.gz