Properly set database connection string in cloud.gov

This commit is contained in:
Ryan Ahearn
2022-11-01 11:34:00 -04:00
parent 3ceda169f7
commit b4256d0a6c
4 changed files with 18 additions and 7 deletions

View File

@@ -28,14 +28,14 @@ AWS_US_TOLL_FREE_NUMBER=+18446120782
ADMIN_BASE_URL=http://admin:6012
API_HOST_NAME=http://dev:6011
REDIS_URL=redis://redis:6380
SQLALCHEMY_DATABASE_URI=postgresql://postgres:chummy@db:5432/notification_api
DATABASE_URL=postgresql://postgres:chummy@db:5432/notification_api
SQLALCHEMY_DATABASE_TEST_URI=postgresql://postgres:chummy@db:5432/test_notification_api
# Local direct setup, all overwritten in cloud.gov
# ADMIN_BASE_URL=http://localhost:6012
# API_HOST_NAME=http://localhost:6011
# REDIS_URL=redis://localhost:6379
# SQLALCHEMY_DATABASE_URI=postgresql://localhost:5432/notification_api
# DATABASE_URL=postgresql://localhost:5432/notification_api
# SQLALCHEMY_DATABASE_TEST_URI=postgresql://localhost:5432/test_notification_api
#############################################################