mediagis / nominatim-docker

100% working container for Nominatim
Creative Commons Zero v1.0 Universal
1.09k stars 444 forks source link

Create container in a proxy based environment #521

Open manusoftar opened 8 months ago

manusoftar commented 8 months ago

Is your feature request related to a problem? Please describe. My docker server needs to use a proxy to be able to communicate with internet (in this case to download the pbf files)

Describe the solution you'd like Some way to tell the container to use my squid proxy to be able to connect to geofabrik servers

What I usually do and didn't work in this case I add these two environment variables on my docker-compose file

HTTP_PROXY and HTTPS_PROXY

even though I added those variables, whenever I try to construct and run the container it get's stuck at downloading the pbf file, clearly because it can't reach the server.

leonardehrenfried commented 6 months ago

No idea how to do this, but if you want to send a PR which teaches Linux or curl how to use a proxy, we would probably merge it in.