aboutsummaryrefslogtreecommitdiff
path: root/gn_auth
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-09-22 07:41:02 +0300
committerFrederick Muriuki Muriithi2023-09-26 03:44:32 +0300
commit961bef8934f8f37081214aa3ff1d58766800fe3f (patch)
treeac2818bafce39b35a1780265da33beca111f807e /gn_auth
parentc3ce0e40dc2c1982d50655b5d49ab0e1da922b1a (diff)
downloadgn-auth-961bef8934f8f37081214aa3ff1d58766800fe3f.tar.gz
Add default `REDIS_URI` configuration.
Diffstat (limited to 'gn_auth')
-rw-r--r--gn_auth/settings.py3
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",