From fafe3e7de8341a8457dac6055e3eeb6f87e4a741 Mon Sep 17 00:00:00 2001 From: Shreyas Adiyodi Date: Mon, 24 May 2021 15:37:21 +0530 Subject: [PATCH] chore: use DB_URI instead of POSTGRES_HOST in env Signed-off-by: Shreyas Adiyodi --- .env.sample | 2 +- config/config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.sample b/.env.sample index b01cfd4a3..2b9cedd76 100644 --- a/.env.sample +++ b/.env.sample @@ -1,5 +1,5 @@ PORT=5000 -POSTGRES_HOST=postgresql://shield_dev@postgres:5432/shield_dev +DB_URI=postgresql://shield_dev@postgres:5432/shield_dev NODE_ENV=integration APP_NAME=shield NEW_RELIC_KEY=132 diff --git a/config/config.js b/config/config.js index f9faf5389..6507c1ffb 100644 --- a/config/config.js +++ b/config/config.js @@ -48,7 +48,7 @@ internals.config = { } }, $default: { - uri: process.env.POSTGRES_HOST, + uri: process.env.DB_URI, options: {} } },