Permalink
Browse files

Move custom config into dev.local and prod.secret

  • Loading branch information...
oestrich committed Apr 21, 2018
1 parent e9d3a15 commit 268225ec3034f818dfcd0817b558d99db23faa0b
Showing with 9 additions and 7 deletions.
  1. +2 −0 .gitignore
  2. +3 −7 config/dev.exs
  3. +4 −0 config/prod.exs
View
@@ -25,3 +25,5 @@ priv/static/
/docs/site
/backups
/schema.sql
/config/prod.secret.exs
/config/dev.local.exs
View
@@ -45,10 +45,6 @@ config :ex_venture, ExVenture.Mailer, adapter: Bamboo.LocalAdapter
config :ex_venture, :mailer, from: "mud@example.com"
config :libcluster,
topologies: [
local: [
strategy: Cluster.Strategy.Epmd,
config: [hosts: []]
]
]
if File.exists?("config/dev.local.exs") do
import_config("dev.local.exs")
end
View
@@ -56,3 +56,7 @@ config :ex_venture, ExVenture.Mailer,
password: {:system, "SMTP_PASSWORD"}
config :ex_venture, :mailer, from: {:system, "EXVENTURE_MAILER_FROM"}
if File.exists?("config/prod.secret.exs") do
import_config("prod.secret.exs")
end

0 comments on commit 268225e

Please sign in to comment.