ex_trainer/config/runtime.exs

7 lines
223 B
Elixir
Raw Normal View History

import Config
config :wabanex, Wabanex.Repo,
username: System.get_env("POSTGRES_USER") || "postgres",
password: System.get_env("POSTGRES_PASS") || "postgres",
hostname: System.get_env("POSTGRES_HOST") || "localhost"