title: Connecting Dockerized app to local Redis and Postgresql
body: <p>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. </p>
  
  <p>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. </p>
  
  <p>Is there any example someone could assist me with ?</p>
  
  <p>Thanks in advance.</p>