attempt to get phoenix dockerized

This commit is contained in:
2024-08-31 13:17:45 -04:00
parent bb16921a74
commit 0e60ad1a86
6 changed files with 74 additions and 33 deletions

View File

@@ -27,7 +27,7 @@ config :poex, Poex.Repo,
username: "postgres",
password: "postgres",
hostname: "localhost",
port: 5560
port: 5432
# Configures the mailer
#

View File

@@ -4,8 +4,9 @@ import Config
config :poex, Poex.Repo,
username: "postgres",
password: "postgres",
hostname: "localhost",
hostname: System.get_env("PGHOST") || "localhost",
database: "poex_dev",
port: System.get_env("PGPORT") |> String.to_integer() || 5432,
stacktrace: true,
show_sensitive_data_on_connection_error: true,
pool_size: 10