wiktorn / Overpass-API

Overpass API docker image
MIT License
140 stars 49 forks source link

Trying to install this docker image on digital ocean with attached volume [question] #6

Closed tomvo closed 5 years ago

tomvo commented 5 years ago

Thanks for creating this docker image, works great with smaller datasets. However we're now trying to set this up on digital ocean with an attached volume mounted on host machine /mnt/... However the install script doesnt seem to pick it up when I run it like below:

docker run \
  -e OVERPASS_META=yes \
  -e OVERPASS_MODE=init \
  -e OVERPASS_PLANET_URL=http://download.geofabrik.de/europe-latest.osm.bz2 \
  -e OVERPASS_DIFF_URL=http://download.openstreetmap.fr/replication/europe/minute/ \
  -e OVERPASS_PLANET_SEQUENCE_ID=2946200 \
  -e OVERPASS_RULES_LOAD=10 \
  -v /big/docker/overpass_db/:/mnt/volume_nyc3_01/db \
  -p 12345:80 \
  -i -t \
  --name overpass_europe wiktorn/overpass-api

Any idea what we're doing wrong and how to modify it so the DB is stored on the mounted volume?

Thanks!

tomvo commented 5 years ago

Nevermind, i switched the -v params around.