Phoenix Ecto, don't connect on kubernetes

Perhaps the Ecto.Repo.init/2-callback can help you?

A short example of how to use it, can be seen in this post: