From 709495847727cf4796a6fc954e3f9c0c35b99d10 Mon Sep 17 00:00:00 2001 From: Roland Date: Sun, 20 Feb 2022 11:18:22 -0700 Subject: [PATCH] Changing db environment. --- .circleci/config.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d403efcb..7866505c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,9 +10,12 @@ jobs: # See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor docker: - image: cimg/python:3.8 - environment: - DATABASE_URL: postgresql://postgres@localhost/wrolpi?sslmode=disable - - image: cimg/postgres:12.0 + - image: cimg/postgres:12.0 + environment: + POSTGRES_USER: postgres + POSTGRES_DB: wrolpi + POSTGRES_PASSWORD: "wrolpi" + POSTGRES_PORT: 54321 # Add steps to the job # See: https://circleci.com/docs/2.0/configuration-reference/#steps steps: