Add postgres to devcontainer / compose
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ import Config
|
||||
config :firehose, Firehose.Repo,
|
||||
username: "postgres",
|
||||
password: "postgres",
|
||||
hostname: "localhost",
|
||||
hostname: System.get_env("DB_HOST") || "localhost",
|
||||
database: "firehose_dev",
|
||||
stacktrace: true,
|
||||
show_sensitive_data_on_connection_error: true,
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ import Config
|
||||
config :firehose, Firehose.Repo,
|
||||
username: "postgres",
|
||||
password: "postgres",
|
||||
hostname: "localhost",
|
||||
hostname: System.get_env("DB_HOST") || "localhost",
|
||||
database: "firehose_test#{System.get_env("MIX_TEST_PARTITION")}",
|
||||
pool: Ecto.Adapters.SQL.Sandbox,
|
||||
pool_size: System.schedulers_online() * 2
|
||||
|
||||
Reference in New Issue
Block a user