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"