From 8c6f4b7d8565fbe65871731401e8a0443d7c1768 Mon Sep 17 00:00:00 2001 From: Uku Taht Date: Sat, 9 Oct 2021 15:33:20 +0200 Subject: [PATCH] Revert "Configure database SSL" This reverts commit 46ca66805a548f7b0d1e4dfabd77da8be441f152. --- config/runtime.exs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/config/runtime.exs b/config/runtime.exs index 137dc75a3..2699361ba 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -42,9 +42,6 @@ db_url = "postgres://postgres:postgres@plausible_db:5432/plausible_db" ) -db_ssl_enabled = - get_var_from_path_or_env(config_dir, "DATABASE_SSL", "false") |> String.to_existing_atom() - db_socket_dir = get_var_from_path_or_env(config_dir, "DATABASE_SOCKET_DIR") admin_user = get_var_from_path_or_env(config_dir, "ADMIN_USER_NAME") @@ -195,9 +192,7 @@ config :plausible, PlausibleWeb.Endpoint, secret_key_base: secret_key_base if is_nil(db_socket_dir) do - config :plausible, Plausible.Repo, - url: db_url, - ssl: db_ssl_enabled + config :plausible, Plausible.Repo, url: db_url else config :plausible, Plausible.Repo, socket_dir: db_socket_dir,