Last active
August 29, 2015 14:23
-
-
Save adanselm/fc69d8aa6f032e408843 to your computer and use it in GitHub Desktop.
Production configuration reading from heroku env
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | |
config :obesebird_api, ObesebirdApi.Endpoint, | |
secret_key_base: System.get_env("SECRET_KEY_BASE") | |
# Configure your database | |
config :obesebird_api, ObesebirdApi.Repo, | |
adapter: Ecto.Adapters.Postgres, | |
url: {:system, "DATABASE_URL"}, | |
size: 20 # The amount of database connections in the pool |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment