From b0781dbc85da7bba5a3a9209ca4d3b3900eea7b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Thu, 24 Jan 2019 18:10:20 +0100 Subject: Make redis connections abstract --- virtual/modules/websites/tools/mediagoblin/mediagoblin.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'virtual/modules/websites/tools/mediagoblin/mediagoblin.nix') diff --git a/virtual/modules/websites/tools/mediagoblin/mediagoblin.nix b/virtual/modules/websites/tools/mediagoblin/mediagoblin.nix index 54470a4..cad6225 100644 --- a/virtual/modules/websites/tools/mediagoblin/mediagoblin.nix +++ b/virtual/modules/websites/tools/mediagoblin/mediagoblin.nix @@ -225,8 +225,8 @@ in base_url = /mgoblin_media/ [celery] - CELERY_RESULT_DBURI = redis+socket:///run/redis/redis.sock?virtual_host=12 - BROKER_URL = redis+socket:///run/redis/redis.sock?virtual_host=12 + CELERY_RESULT_DBURI = ${env.redis_url} + BROKER_URL = ${env.redis_url} CELERYD_CONCURRENCY = 1 [plugins] -- cgit v1.2.3