mirror of
https://github.com/danbee/chess
synced 2025-03-04 08:39:06 +00:00
24 lines
650 B
Elixir
24 lines
650 B
Elixir
use Mix.Config
|
|
|
|
config :chess, ChessWeb.Endpoint,
|
|
cache_static_manifest: "priv/static/cache_manifest.json",
|
|
check_origin: ["https://chess.danbee.in", "https://64squares.club"],
|
|
http: [port: {:system, "PORT"}],
|
|
root: "./assets",
|
|
secret_key_base: "${SECRET_KEY_BASE}",
|
|
server: true,
|
|
url: [scheme: "https", host: "${HOST}", port: 4000],
|
|
version: Application.spec(:chess, :vsn)
|
|
|
|
config :chess, Chess.Mailer,
|
|
adapter: Bamboo.MailgunAdapter,
|
|
api_key: "${MAILGUN_API_KEY}",
|
|
domain: "${MAILGUN_DOMAIN}"
|
|
|
|
config :chess, Chess.Repo,
|
|
adapter: Ecto.Adapters.Postgres,
|
|
url: "${DATABASE_URL}",
|
|
database: "",
|
|
ssl: true,
|
|
pool_size: 1
|