Connecting PostGIS DB within docker in ArcGISPRO

360
1
07-27-2023 01:35 AM
RehanChaudhary
Occasional Contributor

I have a postgis database platform instance running within a local docker container. I want to connect to the database i have  within my postgis platform from arcgispro. I am trying to use the "Create new Database Connection" under "Connections"  in arcgispro  but it keeps on giving me "database connection error/Server machine not found". How can i connect to my database and import the tables i have there. What parameters should be given in the tool? Currently i am giving these parameters:

 

Databse Platform: PostgreSQL

Instance: postgis -> i don't know if this is correct? what's the input required here

Authentication type: Database Authentication

Username: admin

Password: admin

Database: feature

 

my goal is to load features from the database directly into arcgispro

1 Reply
samoa683
New Contributor

I haven't tried it yet but I remember reading somewhere on compose that you need to give the port number for postures. Networkchuck on YouTube has a pretty good starter video for docker, also if you're on windows try using portainer. https://xender.vip/

0 Kudos