diff options
author | Frederick Muriuki Muriithi | 2023-09-22 07:41:02 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-09-26 03:44:32 +0300 |
commit | 961bef8934f8f37081214aa3ff1d58766800fe3f (patch) | |
tree | ac2818bafce39b35a1780265da33beca111f807e /gn_auth/settings.py | |
parent | c3ce0e40dc2c1982d50655b5d49ab0e1da922b1a (diff) | |
download | gn-auth-961bef8934f8f37081214aa3ff1d58766800fe3f.tar.gz |
Add default `REDIS_URI` configuration.
Diffstat (limited to 'gn_auth/settings.py')
-rw-r--r-- | gn_auth/settings.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gn_auth/settings.py b/gn_auth/settings.py index 71ffd5d..e8611bf 100644 --- a/gn_auth/settings.py +++ b/gn_auth/settings.py @@ -12,6 +12,9 @@ SQL_URI = "mysql://webqtlout:webqtlout@localhost/db_webqtl" AUTH_DB = f"{os.environ.get('HOME')}/genenetwork/gn3_files/db/auth.db" AUTH_MIGRATIONS = "migrations/auth" +# Redis settings +REDIS_URI = "redis://localhost:6379/0" + # OAuth2 settings OAUTH2_SCOPE = ( "profile", "group", "role", "resource", "user", "masquerade", |