mirror of
https://github.com/danbee/chess
synced 2025-03-04 08:39:06 +00:00
Allow switching PG port with env variable
This commit is contained in:
parent
41a9faabc9
commit
e81396f99a
@ -14,6 +14,7 @@ config :chess, Chess.Repo,
|
|||||||
adapter: Ecto.Adapters.Postgres,
|
adapter: Ecto.Adapters.Postgres,
|
||||||
database: "chess_test",
|
database: "chess_test",
|
||||||
hostname: "localhost",
|
hostname: "localhost",
|
||||||
|
port: System.get_env("POSTGRES_PORT") || "5432",
|
||||||
pool: Ecto.Adapters.SQL.Sandbox
|
pool: Ecto.Adapters.SQL.Sandbox
|
||||||
|
|
||||||
config :hound, driver: "phantomjs"
|
config :hound, driver: "phantomjs"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user