I was trying to setup my project on docker after going through few tutorials and guides. I am setting Elixir/Phoenix app which has Redis and Postgresql as it's dependencies. I have managed to Dockerize it using docker compose which uses images for pg and Redis.
I was trying to figure out a way to connect my Phoenix app to my local Postgresql and Redis instead of connecting it to their images as the db and Redis needs to be on the server and not in the docker container.
Is there any example someone could assist me with ?
Thanks in advance.