Two updates were made here: 1. Migrate from Mix.Config to Config 2. Use runtime to fetch dynamic configurations
7 lines
223 B
Elixir
7 lines
223 B
Elixir
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"
|