Skip to content

Commit

Permalink
updated db connection envs
Browse files Browse the repository at this point in the history
  • Loading branch information
eatyourpeas committed May 28, 2024
1 parent a0b23c9 commit 563e03f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ rcpch_nhs_organisations/api-key.env
staticfiles
staticdocs
envs/.env
logs
logs

.DS_Store
4 changes: 2 additions & 2 deletions rcpch_nhs_organisations/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@
DATABASES = {
"default": {
"ENGINE": "django.contrib.gis.db.backends.postgis",
"NAME": os.environ.get("PGDATABASE"),
"NAME": os.environ.get("PGDATABASENAME"),
"USER": os.environ.get("PGUSER"),
"PASSWORD": os.environ.get("PGPASSWORD"),
"HOST": os.environ.get("PGHOST"),
"PORT": os.environ.get("PGPORT"),
"HOST": os.environ.get("PGHOST"),
}
}

Expand Down

0 comments on commit 563e03f

Please sign in to comment.