Skip to content
Permalink
056a1fe19e
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
22 lines (20 sloc) 759 Bytes
use Mix.Config
# In this file, we keep production configuration that
# you likely want to automate and keep it away from
# your version control system.
#
# You should document the content of this
# file or create a script for recreating it, since it's
# kept out of version control and might be hard to recover
# or recreate for your teammates (or you later on).
config :pxblog, Pxblog.Endpoint,
secret_key_base: System.get_env("SECRETE_KEY_BASE")
# Configure your database
config :pxblog, Pxblog.Repo,
adapter: Ecto.Adapters.Postgres,
username: System.get_env("DATABASE_USERNAME"),
password: System.get_env("DATABASE_PASSWORD"),
database: System.get_env("DATABASE_NAME"),
hostname: System.get_env("DATABASE_HOST"),
pool_size: 20,
ssl: true