Revert 2 commits
Some checks failed
Checks / check (push) Failing after -6m32s
Build and Push Docker Image / Build and Push Image (push) Successful in -7m0s

b0797d2 'fix: don't copy from chatgpt'
7ba1305 'deploy: add elastic email'

elasticemail doesn't work on free tier😭😭😭
This commit is contained in:
Vladimir Rubin 2024-12-26 20:31:59 +02:00
parent b0797d241d
commit 207c11f2cc
Signed by: vavakado
GPG key ID: CAB744727F36B524
2 changed files with 0 additions and 11 deletions

View file

@ -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

View file

@ -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