Closed duccioa closed 2 years ago
Yes, if you'll pass to the container the same parameters (such as OVERPASS_DIFF_URL
) and mount the same directory under /db
then container should detect, that database is already initialized and just continue. This is also the way I usually upgrade overpass version (recreate the container with new container image using the same /db
folder and all environment parameters).
Thank you, it works. If I may, just out of curiosity, what is this part of the process?
After 0h0m15s: in "recurse", part 0, on line 26. Stack: 0 of 0 218 of 0 0 of 0
After 0h0m30s: in "recurse", part 0, on line 27. Stack: 0 of 0 667 of 0 0 of 0
After 0h0m45s: in "recurse", part 0, on line 27. Stack: 0 of 0 1889 of 0 0 of 0
After 0h1m0s: in "recurse", part 0, on line 27. Stack: 0 of 0 2785 of 0 0 of 0
After 0h1m15s: in "recurse", part 0, on line 27. Stack: 0 of 0 3723 of 0 0 of 0
After 0h1m30s: in "recurse", part 0, on line 27. Stack: 0 of 0 4867 of 0 0 of 0
Hello, I successfully run the image on a OSM file in a container
overpass_api
and the service was running smoothly. The data is in the folder/data/overpass_db/
, the database is set withinit_done
,cookie.jar
anddb/
. For various reason, I had to change docker's root and now docker does not seeoverpass_api
container any more. I would like to run a new container without rebuilding the database again. Is it possible?By the way, thank you for this docker image. It is very useful.
Best, Duccio