From 3da6d1505249eb284ad35aec2e834db221894469 Mon Sep 17 00:00:00 2001 From: guidezSeb Date: Sun, 17 Jan 2021 19:26:38 +0100 Subject: [PATCH] :bug: test config --- .circleci/config.yml | 8 ++++---- conduit/settings.py | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7d1046b..ac1085a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -26,15 +26,15 @@ jobs: docker: - image: circleci/python:3.9-buster-node-browsers environment: - DATABASE_URL: postgresql://cngamueuzocvcp:094fdb8f3ef645a018e982b2b727a49d9707482be5b6a3b245a95c929cbe5a80@localhost:5432/d8nr5lrrsj8666 + DATABASE_URL: postgresql://myUser:myPassword@localhost:5432/my_database_postgres FLASK_APP: autoapp.py CONDUIT_SECRET: 'something-really-secret' FLASK_DEBUG: 1 - image: circleci/postgres:9.6.2-alpine environment: - POSTGRES_USER: cngamueuzocvcp - POSTGRES_DB: d8nr5lrrsj8666 - POSTGRES_PASSWORD: 094fdb8f3ef645a018e982b2b727a49d9707482be5b6a3b245a95c929cbe5a80 + POSTGRES_USER: myUser + POSTGRES_DB: my_database_postgres + POSTGRES_PASSWORD: myPassword steps: - checkout - restore_cache: diff --git a/conduit/settings.py b/conduit/settings.py index 677dc8d..ce05cb8 100644 --- a/conduit/settings.py +++ b/conduit/settings.py @@ -25,6 +25,8 @@ class Config(object): 'http://localhost:4200', 'http://0.0.0.0:4000', 'http://localhost:4000', + 'http://0.0.0.0:' + os.environ.get('PORT', '8080'), + 'https://0.0.0.0:' + os.environ.get('PORT', '8080'), 'https://reverent-swanson-5ad65a.netlify.app', os.environ.get('FRONT_PROD_URL', ''), ]