Connect Airbyte in Docker container to local postgres db instance

502 views Asked by At

I recently setup an instance of Airbyte on my local machine using a Docker container. I also have a local instance of Postgres running which I would like to use as a data source in Airbyte. It seems like I cannot connect to the local Postgres instance because of the Docker container. Any thoughts on how to establish this connectivity?

2

There are 2 answers

1
yamakei On

I had the same problem. Is it difficult to issue a URL for external publication when using ngrok?

ngrok tcp 5432

0
zadroga On

I joined the Airbyte Slack channel and was told to use host.docker.internal instead of "localhost" or "127.0.0.1" and it worked.