Add postgres to devcontainer / compose

This commit is contained in:
Willem van den Ende
2026-03-18 11:22:54 +00:00
parent e780d6b6e5
commit f563d3c26a
5 changed files with 45 additions and 6 deletions
+1 -1
View File
@@ -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
View File
@@ -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