wiktorn / Overpass-API

Overpass API docker image
MIT License
134 stars 48 forks source link

Add an environment variable for OVERPASS_CLONE_SOURCE #63

Closed CJxD closed 3 years ago

CJxD commented 3 years ago

Problem: init mode takes too long for fresh deployments. Solution: use clone mode instead. New problem: the cloned image uses minute diffs, and my instances can't cope with changes that frequent. New solution: be able to specify a new URL for clones.

Hence, OVERPASS_CLONE_SOURCE.

I added it to the documentation too, and also cleaned up the README file while I was at it. Let me know if you want to split the pull request into just the environment variable, and a separate one for documentation changes.

P.S. can you push the latest image onto your official docker repository please?

wiktorn commented 3 years ago

Thank you for your contribution. Docker images are still built by Docker hub and latest tag is not always build as last one. I'll retrigger the build on the last version of the image tomorrow (as I hope that then all builds will finish)