From da3a484f6cb1607760bc5d37e8e12b679a777737 Mon Sep 17 00:00:00 2001 From: Ojakoo Date: Tue, 16 Aug 2022 22:24:20 +0300 Subject: [PATCH] wbn? --- sikweb/settings.py | 3 +-- stack-compose.yml | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sikweb/settings.py b/sikweb/settings.py index 1584696..b979c15 100644 --- a/sikweb/settings.py +++ b/sikweb/settings.py @@ -82,8 +82,7 @@ DATABASES = { # Google api settings GROUP_KEY = os.getenv("GROUP_KEY", "") -# GOOGLE_SERVICE_ACCOUNT = json.loads(os.getenv("GOOGLE_CREDS_JSON", "{}")) -GOOGLE_SERVICE_ACCOUNT = json.loads("{}") +GOOGLE_SERVICE_ACCOUNT = json.loads(os.getenv("GOOGLE_CREDS_JSON", "{}")) # JWT authentication SIMPLE_JWT = { diff --git a/stack-compose.yml b/stack-compose.yml index 0d58883..1165a2e 100644 --- a/stack-compose.yml +++ b/stack-compose.yml @@ -41,6 +41,7 @@ services: - BACKEND_DB_PASSWD - BACKEND_EMAIL_API_KEY - GOOGLE_CREDS_JSON + secrets: BACKEND_SECRET_KEY: external: true