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

Use ENV vars for Mailgun config

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

View File

@ -11,7 +11,9 @@ config :chess, ChessWeb.Endpoint,
version: Application.spec(:chess, :vsn)
config :chess, Chess.Mailer,
adapter: Bamboo.MailgunAdapter
adapter: Bamboo.MailgunAdapter,
api_key: "${MAILGUN_API_KEY}",
domain: "${MAILGUN_DOMAIN}"
config :chess, Chess.Repo,
adapter: Ecto.Adapters.Postgres,