diff --git a/config/database.yml b/config/database.yml index 72c4236..ebc559a 100644 --- a/config/database.yml +++ b/config/database.yml @@ -29,7 +29,7 @@ default: &default development: <<: *default - database: decidim_inspire_development + database: <%= ENV.fetch("DATABASE_HOST") { "decidim_inspire_development" } %> # The specified database role being used to connect to postgres. # To create additional roles in postgres see `$ createuser --help`. diff --git a/config/secrets.yml b/config/secrets.yml index ede0df2..be298ff 100644 --- a/config/secrets.yml +++ b/config/secrets.yml @@ -163,7 +163,7 @@ default: &default development: <<: *default - secret_key_base: 20030a99bcc7efa3a3e98e2db40723909aaedc499ba757dbe83819a5836a229a5dd5a1b6e43bcc8fcde9f5622c7a373332c84a8e5ccb44a182be3def0d968734 + secret_key_base: <%= Decidim::Env.new("SECRET_KEY_BASE", "20030a99bcc7efa3a3e98e2db40723909aaedc499ba757dbe83819a5836a229a5dd5a1b6e43bcc8fcde9f5622c7a373332c84a8e5ccb44a182be3def0d968734") %> omniauth: developer: enabled: true