Replies: 1 comment
-
|
I run it on ARM and works very well :) Example: set -e
IMAGE="mediagis/nominatim:5.2"
CONTAINER_NAME="nominatim"
HOST_DIR="nominatim-data"
CONTAINER_DIR="/var/lib/postgresql/16/main"
FLAT_NODE_DIR="nominatim-flatnode"
FLAT_NODE_CONTAINER_DIR="/nominatim/flatnode"
docker run \
-it \
-d \
-e PBF_URL=https://download.geofabrik.de/europe/poland-latest.osm.pbf \
-e REPLICATION_URL=https://download.geofabrik.de/europe/poland-updates/ \
-e POSTGRES_SHARED_BUFFERS=2GB \
-e POSTGRES_MAINTENANCE_WORK_MEM=10GB \
-e POSTGRES_AUTOVACUUM_WORK_MEM=2GB \
-e POSTGRES_WORK_MEM=50MB \
-e POSTGRES_EFFECTIVE_CACHE_SIZE=24GB \
-e POSTGRES_SYNCHRONOUS_COMMIT=off \
-e POSTGRES_MAX_WAL_SIZE=1GB \
-e POSTGRES_CHECKPOINT_TIMEOUT=10min \
-e POSTGRES_CHECKPOINT_COMPLETION_TARGET=0.9 \
-e REPLICATION_UPDATE_INTERVAL=43200 \
-e REPLICATION_RECHECK_INTERVAL=450 \
-e UPDATE_MODE=once \
-e REVERSE_ONLY=true \
-e IMPORT_WIKIPEDIA=true \
-e NOMINATIM_PASSWORD=examplePassword \
--shm-size=12g \
-v "$HOST_DIR:$CONTAINER_DIR" \
-v "$FLAT_NODE_DIR:$FLAT_NODE_CONTAINER_DIR" \
-p 8080:8080 \
--name nominatim \
"$IMAGE" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, would there be an ARM supported version of nominatim? Would anyone have advice if its possible to make a docker container for an arm device for IoT edge?
Beta Was this translation helpful? Give feedback.
All reactions