Skip to content

Instantly share code, notes, and snippets.

@shahryarjb
Created July 2, 2017 10:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shahryarjb/98f28da0da86ee41aed3ff97edfdbef7 to your computer and use it in GitHub Desktop.
Save shahryarjb/98f28da0da86ee41aed3ff97edfdbef7 to your computer and use it in GitHub Desktop.
# This file is responsible for configuring your application
# and its dependencies with the aid of the Mix.Config module.
use Mix.Config
# This configuration is loaded before any dependency and is restricted
# to this project. If another project depends on this project, this
# file won't be loaded nor affect the parent project. For this reason,
# if you want to provide default values for your application for
# 3rd-party users, it should be done in your "mix.exs" file.
# You can configure for your application as:
#
# config :tsvp, key: :value
#
# And access this configuration in your application as:
#
# Application.get_env(:tsvp, :key)
#
# Or configure a 3rd-party app:
#
# config :logger, level: :info
#
# It is also possible to import configuration files, relative to this
# directory. For example, you can emulate configuration per environment
# by uncommenting the line below and defining dev.exs, test.exs and such.
# Configuration from the imported file will override the ones defined
# here (which is why it is important to import them last).
#
# import_config "#{Mix.env}.exs"
config :tsvp, Tsvp.Repo,
adapter: Ecto.Adapters.Postgres,
database: "tsvp",
username: "postgres",
password: "postgres",
pool_size: 1
config :tsvp, ecto_repos: [Tsvp.Repo]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment