How you would configure elixir app with ecto to connect with postgres on host machine?

Yeah, i have read this before, but don’t understand how use this. Now i know