diff --git a/.circleci/config.yml b/.circleci/config.yml index 25ed3a1f..b85ced1f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,7 +15,6 @@ jobs: 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: diff --git a/wrolpi/db.py b/wrolpi/db.py index 4e8a7572..fe1c03ad 100644 --- a/wrolpi/db.py +++ b/wrolpi/db.py @@ -30,7 +30,7 @@ def get_db_args(dbname: str = None): elif PYTEST: # Pytest is running but we're not in docker, use the exposed docker container port. db_args['user'] = 'postgres' - db_args['port'] = 54321 + db_args['port'] = 5432 return db_args