mediagis / nominatim-docker

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

Documentation on how to connect to postgres from Azure Data Studio #520

Closed daskabe closed 6 months ago

daskabe commented 8 months ago

Is your feature request related to a problem? Please describe. Unable to connect to postgres db from Azure Data Studio image

connection failed: could not receive data from server: Connection refused

Describe the solution you'd like documentation on how to connect to postgres db from Azure Data Studio

Describe alternatives you've considered i tried using the terminal to perform sql queries.

Additional context I am trying to do custom search as its not clear how to do it using the search api

daskabe commented 8 months ago

This worked for me :

docker run -it \
  -e PBF_URL=https://download.geofabrik.de/europe/monaco-latest.osm.pbf \
  -e REPLICATION_URL=https://download.geofabrik.de/europe/monaco-updates/ \
  -p 8080:8080 \
  -p 5432:5432 \ 
  --name nominatim \
  mediagis/nominatim:4.3 

And then try this in azure data studio to connect. The default password is in the docs.

image