From dfe8c9b450ef6571844852b858f793989f3e5be6 Mon Sep 17 00:00:00 2001 From: Tristan Date: Thu, 5 Nov 2020 13:04:41 +0100 Subject: [PATCH] Q5 --- .circleci/config.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5e4a2d6..64774fe 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,16 +1,17 @@ version: 2.1 jobs: + build: database1: docker: - image: 'circleci/node:12' - environnement: + environment: DATABASE_URL: postgres://psqluer:psqlpassword@localhost:5432/psdb JWT_SECRET: some string yo want API_PORT: 3000 API_HOST: localhost API_PROTOCOL: http - image: 'circle1/postgres:9.6.2-alpine' - environnement: + environment: POSTGRES_USER: psqluer POSTGRES_PASSWORD: psqlpassword POSTGRES_DB: psdb