module Kitsune::Kit::Defaults

def self.postgres

def self.postgres
  env = ENV.fetch('KIT_ENV', 'development')
  {
    postgres_db: ENV.fetch('POSTGRES_DB') { "#{POSTGRES[:db_prefix]}_#{env}" },
    postgres_user: ENV.fetch('POSTGRES_USER', POSTGRES[:user]),
    postgres_password: ENV.fetch('POSTGRES_PASSWORD', POSTGRES[:password]),
    postgres_port: ENV.fetch('POSTGRES_PORT', POSTGRES[:port]),
    postgres_image: ENV.fetch('POSTGRES_IMAGE', POSTGRES[:image])
  }
end