From 961bef8934f8f37081214aa3ff1d58766800fe3f Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 22 Sep 2023 07:41:02 +0300 Subject: Add default `REDIS_URI` configuration. --- gn_auth/settings.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gn_auth') 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", -- cgit v1.2.3