summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/dev.exs2
-rw-r--r--config/test.exs2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/dev.exs b/config/dev.exs
index 126baea28..83326e6f2 100644
--- a/config/dev.exs
+++ b/config/dev.exs
@@ -49,5 +49,5 @@ config :pleroma, Pleroma.Repo,
try do
import_config "dev.secret.exs"
rescue
- _-> nil
+ _-> IO.puts("!!! RUNNING IN LOCALHOST DEV MODE! !!!\nFEDERATION WON'T WORK UNTIL YOU CONFIGURE A dev.secret.exs")
end
diff --git a/config/test.exs b/config/test.exs
index 04136e1f2..26b5410fe 100644
--- a/config/test.exs
+++ b/config/test.exs
@@ -18,7 +18,7 @@ config :pleroma, Pleroma.Repo,
username: "postgres",
password: "postgres",
database: "pleroma_test",
- hostname: "localhost",
+ hostname: System.get_env("DB_HOST") || "localhost",
pool: Ecto.Adapters.SQL.Sandbox