Prepared solution for intern
This commit is contained in:
@@ -16,10 +16,10 @@ module BlogBackend
|
||||
end
|
||||
|
||||
BlogBackend.configure do |config|
|
||||
config.postgres.database = ENV.fetch("DATABASE_NAME") { "ewallet_backend" }
|
||||
config.postgres.host = ENV.fetch("DATABASE_HOST")
|
||||
config.postgres.password = ENV.fetch("DATABASE_PASSWORD")
|
||||
config.postgres.username = ENV.fetch("DATABASE_USERNAME")
|
||||
config.postgres.database = ENV.fetch("POSTGRES_NAME") { "ewallet_backend" }
|
||||
config.postgres.host = ENV.fetch("POSTGRES_HOST")
|
||||
config.postgres.password = ENV.fetch("POSTGRES_PASSWORD")
|
||||
config.postgres.username = ENV.fetch("POSTGRES_USERNAME")
|
||||
|
||||
config.redis.uri = ENV.fetch("REDIS_URI")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user