# HG changeset patch
# User Aurelien Lubert <aurelien.lubert@logilab.fr>
# Date 1711020380 -3600
#      Thu Mar 21 12:26:20 2024 +0100
# Node ID 0e57e360a70cffcbe0a65259670916b44976d516
# Parent  90da0f4974e3e6446e5cb90883bdbd8188aa1c7c
ci(docker): add the rq.redis_url option in the pyramid.ini template

Without this option, the rq-worker cannot be launched.

diff --git a/pyramid.ini.j2 b/pyramid.ini.j2
--- a/pyramid.ini.j2
+++ b/pyramid.ini.j2
@@ -9,6 +9,7 @@
 cubicweb.auth.authtkt.persistent.path = {{ PYRAMID_AUTHTKT_SESSION_PATH or '/' }}
 cubicweb_api.enable_login_route = {{ PYRAMID_API_ENABLE_LOGIN_ROUTE or "no" }}
 {% if REDIS_SESSIONS_URL -%}
+rq.redis_url = {{ REDIS_SESSIONS_URL }}
 redis.sessions.url = {{ REDIS_SESSIONS_URL }}
 redis.sessions.secret = {{ REDIS_SESSIONS_SECRET }}
 redis.sessions.timeout = 1200