From 62075c2a0ef8bb33a8b6cb40296a1c08210725ef Mon Sep 17 00:00:00 2001 From: Victor Presumido Date: Wed, 28 Mar 2018 11:02:55 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=20Fix=20Import=20of=20prod=20confi?= =?UTF-8?q?gs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/bot/config/prod.exs | 2 +- apps/db/config/prod.exs | 2 ++ config/prod.secret.exs | 12 ++++++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 config/prod.secret.exs diff --git a/apps/bot/config/prod.exs b/apps/bot/config/prod.exs index 7b93248..382e195 100644 --- a/apps/bot/config/prod.exs +++ b/apps/bot/config/prod.exs @@ -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" diff --git a/apps/db/config/prod.exs b/apps/db/config/prod.exs index b1b9ea0..f2ef760 100644 --- a/apps/db/config/prod.exs +++ b/apps/db/config/prod.exs @@ -7,3 +7,5 @@ config :db, Db.Repo, hostname: "localhost", port: 5432, pool_size: 20 + +import_config "../../../config/prod.secret.exs" diff --git a/config/prod.secret.exs b/config/prod.secret.exs new file mode 100644 index 0000000..6262a50 --- /dev/null +++ b/config/prod.secret.exs @@ -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"