2018-09-18 15:59:28 +02:00
|
|
|
import os
|
|
|
|
|
|
|
|
# Check if Solr connection information was provided in the environment
|
|
|
|
SOLR_SERVER = os.environ.get('SOLR_SERVER', 'http://localhost:8080/solr')
|
2018-09-23 10:33:26 +02:00
|
|
|
|
2018-09-24 23:49:47 +02:00
|
|
|
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')
|
2018-11-03 21:40:45 +01:00
|
|
|
DATABASE_PORT = os.environ.get('DATABASE_PORT', '5432')
|
2018-09-23 15:47:00 +02:00
|
|
|
|
2018-09-23 10:33:26 +02:00
|
|
|
# vim: set sw=4 ts=4 expandtab:
|