* Configure `docker-compose` to scale at least 2 nodes. * Add script to start service with proper naming * Create custom resolver. * This is not strictly necessary.
9 lines
307 B
Elixir
9 lines
307 B
Elixir
import Config
|
|
|
|
config :wabanex, dns_cluster_query: System.get_env("DNS_CLUSTER_QUERY") || :ignore
|
|
|
|
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"
|