1
0
mirror of https://github.com/ilri/dspace-statistics-api.git synced 2025-05-09 14:46:01 +02:00

Allow configuration of PostgreSQL port

Defaults to port 5432, but can be overridden with DATABASE_PORT.
This commit is contained in:
2018-11-03 22:40:45 +02:00
parent e54dd8888f
commit 5f3bd61998
2 changed files with 3 additions and 1 deletions

View File

@ -7,5 +7,6 @@ DATABASE_NAME = os.environ.get('DATABASE_NAME', 'dspacestatistics')
DATABASE_USER = os.environ.get('DATABASE_USER', 'dspacestatistics')
DATABASE_PASS = os.environ.get('DATABASE_PASS', 'dspacestatistics')
DATABASE_HOST = os.environ.get('DATABASE_HOST', 'localhost')
DATABASE_PORT = os.environ.get('DATABASE_PORT', '5432')
# vim: set sw=4 ts=4 expandtab: