Revert 2 commits
b0797d2
'fix: don't copy from chatgpt'7ba1305
'deploy: add elastic email' elasticemail doesn't work on free tier😭😭😭
This commit is contained in:
parent
b0797d241d
commit
207c11f2cc
2 changed files with 0 additions and 11 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue