allow custom db port

This commit is contained in:
Iván Raskovsky 2022-11-11 12:22:21 -03:00
commit 36519bdbee
6 changed files with 6 additions and 2 deletions

View file

@ -47,6 +47,7 @@ config :pleroma, Pleroma.Repo,
password: "postgres",
database: "pleroma_test",
hostname: System.get_env("DB_HOST") || "localhost",
port: System.get_env("DB_HOST") || "5432",
pool: Ecto.Adapters.SQL.Sandbox,
pool_size: 50