diff --git a/.circleci/config.yml b/.circleci/config.yml index b85b2a4..1686f23 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,6 +25,11 @@ jobs: - ./node_module deploy_bdd: docker: + - image: 'circleci/postgres:9.6.2-alpine' + environment: + POSTGRE_USER: psqluser + POSTGRE_PASSWORD: psqlpassword + POSTGRE_DB: psdb - image: circleci/node:14 # the primary container, where your job's commands are run environment: DATABASEURL: postgres://psqluser:psqlpassword@localhost:5432/psdb @@ -32,12 +37,6 @@ jobs: API_PORT: 3000 API_HOST: localhost API_PROTOCOL: http - docker: - - image: 'circleci/postgres:9.6.2-alpine' - environment: - POSTGRE_USER: psqluser - POSTGRE_PASSWORD: psqlpassword - POSTGRE_DB: psdb steps: - checkout - restore_cache: