Changing db port.

This commit is contained in:
Roland 2022-02-20 11:22:33 -07:00
parent 96e624a75d
commit d40c3a5994
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
2 changed files with 1 additions and 2 deletions

View file

@ -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:

View file

@ -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