Skip to content

Commit a113246

Browse files
committed
Add support for setting Postgres port via env var
Signed-off-by: James Carnegie <me@kipz.org>
1 parent fa495da commit a113246

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vulnerablecode/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
"USER": os.environ.get("VC_DB_USER", "vulnerablecode"),
9595
"PASSWORD": os.environ.get("VC_DB_PASSWORD", "vulnerablecode"),
9696
"HOST": os.environ.get("VC_DB_HOST", "localhost"),
97-
"PORT": "5432",
97+
"PORT": os.environ.get("VC_DB_PORT", "5432"),
9898
}
9999
}
100100

0 commit comments

Comments
 (0)