From c4e20346718eb225eaa479e43e5dcce1757b1a49 Mon Sep 17 00:00:00 2001 From: Francois Lannoy Date: Mon, 2 Nov 2020 11:48:57 +0100 Subject: [PATCH] change db env --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d624cae..79275ac 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -53,15 +53,15 @@ jobs: db: - image: cimg/node:14.10.1 environment: - DATABASE_URL: postgres://psqluer:psqlpassword@localhost:5432/psdb + DATABASE_URL: postgres://$PG_USER@localhost:5432/$PG_DB JWT_SECRET: yeet API_PORT: 3000 API_HOST: localhost API_PROTOCOL: http - image: environment: - POSTGRES_USER: circleci-demo-go - POSTGRES_DB: circle_test + PG_USER: circleci-demo-go + PG_DB: circle_test steps: - checkout