summaryrefslogtreecommitdiff
path: root/config/benchmark.exs
diff options
context:
space:
mode:
authorIván Raskovsky <raskovsky+git@gmail.com>2022-11-11 12:22:21 -0300
committerIván Raskovsky <raskovsky+git@gmail.com>2022-11-11 12:22:21 -0300
commit36519bdbee321354788fde71e33e74d7f6a353d1 (patch)
treea3a7597c5041acd3d0124046f54e4bba9d4d63fa /config/benchmark.exs
parent39a96876ef1dd232c725cc10dccdc4f1e154a8fc (diff)
downloadpleroma-36519bdbee321354788fde71e33e74d7f6a353d1.tar.gz
pleroma-36519bdbee321354788fde71e33e74d7f6a353d1.zip
allow custom db port
Diffstat (limited to 'config/benchmark.exs')
-rw-r--r--config/benchmark.exs1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/benchmark.exs b/config/benchmark.exs
index 9a7ea5669..870ead150 100644
--- a/config/benchmark.exs
+++ b/config/benchmark.exs
@@ -40,6 +40,7 @@ config :pleroma, Pleroma.Repo,
password: "postgres",
database: "pleroma_benchmark",
hostname: System.get_env("DB_HOST") || "localhost",
+ port: System.get_env("DB_PORT") || "5432",
pool_size: 10
# Reduce hash rounds for testing