From 207c11f2ccd1e3b5baee3b93d710349aa63aebb6 Mon Sep 17 00:00:00 2001 From: Vladimir Rubin Date: Thu, 26 Dec 2024 20:31:59 +0200 Subject: [PATCH] Revert 2 commits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit b0797d2 'fix: don't copy from chatgpt' 7ba1305 'deploy: add elastic email' elasticemail doesn't work on free tier😭😭😭 --- config/runtime.exs | 9 --------- docker-compose.yml | 2 -- 2 files changed, 11 deletions(-) diff --git a/config/runtime.exs b/config/runtime.exs index ce78712..d671728 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -122,13 +122,4 @@ if config_env() == :prod do # config :swoosh, :api_client, Swoosh.ApiClient.Hackney # # See https://hexdocs.pm/swoosh/Swoosh.html#module-installation for details. - config :exmr, Exmr.Mailer, - adapter: Swoosh.Adapters.SMTP, - relay: "smtp.elasticemail.com", - port: 2525, - username: System.get_env("ELASTIC_EMAIL_USERNAME"), - password: System.get_env("ELASTIC_EMAIL_PASSWORD"), - ssl: false, - tls: :always, - auth: :always end diff --git a/docker-compose.yml b/docker-compose.yml index 2606c91..b2400b3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,8 +9,6 @@ services: - DATABASE_URL=${DATABASE_URL} - SECRET_KEY_BASE=${SECRET_KEY_BASE} - EXMR_ENABLE_REGISTRATION=true - - ELASTIC_EMAIL_USERNAME=${ELASTIC_EMAIL_USERNAME} - - ELASTIC_EMAIL_PASSWORD=${ELASTIC_EMAIL_PASSWORD} depends_on: - db