1
0
mirror of https://github.com/danbee/chess synced 2025-03-04 08:39:06 +00:00
chess/config/prod.exs
2018-02-20 13:12:29 -05:00

18 lines
450 B
Elixir

use Mix.Config
config :chess, ChessWeb.Endpoint,
http: [port: {:system, "PORT"}],
url: [host: "localhost", port: {:system, "PORT"}],
cache_static_manifest: "priv/static/cache_manifest.json",
server: true,
root: "./assets",
version: Application.spec(:myapp, :vsn),
secret_key_base: "${SECRET_KEY_BASE}"
config :chess, Chess.Repo,
adapter: Ecto.Adapters.Postgres,
url: "${DATABASE_URL}",
database: "",
ssl: true,
pool_size: 1