Replies: 1 comment
-
I commented out all the lines for the postgresql service so that specific container did not get started, then I just referenced the existing sql server by it's IP address. I also removed the volume specific to sql. Note that you'll need to make sure your postgresql server is listening on an IP address accessible by the containers, and you'll need to set your db permissions so that the user with access has a correct source IP address.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What changes need done to the docker-compose file to connect to an external PG instance?
Beta Was this translation helpful? Give feedback.
All reactions