1
0
mirror of https://github.com/danbee/chess synced 2025-03-04 08:39:06 +00:00

Use Mailgun adapter in production

This commit is contained in:
Daniel Barber 2018-09-09 19:40:19 -04:00
parent 45a40e0900
commit e5575c42f4
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8

View File

@ -10,6 +10,9 @@ config :chess, ChessWeb.Endpoint,
url: [host: "localhost", port: {:system, "PORT"}], url: [host: "localhost", port: {:system, "PORT"}],
version: Application.spec(:chess, :vsn) version: Application.spec(:chess, :vsn)
config :chess, Chess.Mailer,
adapter: Bamboo.MailgunAdapter
config :chess, Chess.Repo, config :chess, Chess.Repo,
adapter: Ecto.Adapters.Postgres, adapter: Ecto.Adapters.Postgres,
url: "${DATABASE_URL}", url: "${DATABASE_URL}",