mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-03-09 15:40:09 +00:00
set redis host and port from config
This commit is contained in:
parent
a80a6e270f
commit
6d36ced3b3
2 changed files with 7 additions and 3 deletions
|
@ -47,3 +47,7 @@ LDAP_BIND_PW = environ.get('PROXSTAR_LDAP_BIND_PW', '')
|
|||
|
||||
# DB
|
||||
SQLALCHEMY_DATABASE_URI = environ.get('PROXSTAR_SQLALCHEMY_DATABASE_URI', '')
|
||||
|
||||
# REDIS
|
||||
REDIS_HOST = environ.get('PROXSTAR_REDIS_HOST', 'localhost')
|
||||
REDIS_PORT = int(environ.get('PROXSTAR_REDIS_PORT', '6379'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue