From c492dbd6898ed2cf881d5afe68ecd5610a37c0a9 Mon Sep 17 00:00:00 2001 From: Olivier Leger Date: Thu, 14 May 2020 17:00:18 -0300 Subject: [PATCH] Added environment variable for Redis Lock mechanism for cron tasks --- templates/kobo-deployments/envfiles/databases.txt.tpl | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/kobo-deployments/envfiles/databases.txt.tpl b/templates/kobo-deployments/envfiles/databases.txt.tpl index 1880fc2..3c9ef97 100644 --- a/templates/kobo-deployments/envfiles/databases.txt.tpl +++ b/templates/kobo-deployments/envfiles/databases.txt.tpl @@ -50,4 +50,5 @@ ${USE_BACKUP}POSTGRES_BACKUP_SCHEDULE=${POSTGRES_BACKUP_SCHEDULE} ${USE_BACKUP}REDIS_BACKUP_SCHEDULE=${REDIS_BACKUP_SCHEDULE} REDIS_SESSION_URL=redis://:${REDIS_PASSWORD_URL_ENCODED}@redis-cache.${PRIVATE_DOMAIN_NAME}:${REDIS_CACHE_PORT}/2 +REDIS_LOCK_URL=redis://:${REDIS_PASSWORD_URL_ENCODED}@redis-cache.${PRIVATE_DOMAIN_NAME}:${REDIS_CACHE_PORT}/3 REDIS_PASSWORD=${REDIS_PASSWORD}