Skip to content

Commit

Permalink
Merge pull request #39 from victorpre/config/prod
Browse files Browse the repository at this point in the history
🛠 Fix Import of prod configs
  • Loading branch information
victorpre authored Mar 28, 2018
2 parents ce834b1 + 62075c2 commit 769c1ab
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/bot/config/prod.exs
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ config :nadia,

# Finally import the config/prod.secret.exs
# which should be versioned separately.
import_config "../../../config/prod.secret.exs"
# import_config "prod.secret.exs"
2 changes: 2 additions & 0 deletions apps/db/config/prod.exs
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ config :db, Db.Repo,
hostname: "localhost",
port: 5432,
pool_size: 20

import_config "../../../config/prod.secret.exs"
12 changes: 12 additions & 0 deletions config/prod.secret.exs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
use Mix.Config

# In this file, we keep production configuration that
# you'll likely want to automate and keep 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 yourself later on).
config :bot, BotWeb.Endpoint,
secret_key_base: "zeTdr67JQwqne94CCzl9k3xc22nv2HbWX1wofrYXbqoy9jiHOybZqgBx0cwvbg3V"

0 comments on commit 769c1ab

Please sign in to comment.