Prepared solution for intern

This commit is contained in:
Michał Kacprzak
2020-10-08 05:52:40 +02:00
parent 2737c17732
commit a0e153d982
2 changed files with 49 additions and 4 deletions
+4 -4
View File
@@ -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