From 21ff89ab910ef82b7ea8fd1cdabce31a15354a05 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 13 May 2024 19:43:52 +0200 Subject: [PATCH] redis: add version support --- ansible/roles/synapse/files/basedir/docker-compose.yaml | 2 +- ansible/roles/synapse/templates/docker/.env.j2 | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ansible/roles/synapse/files/basedir/docker-compose.yaml b/ansible/roles/synapse/files/basedir/docker-compose.yaml index 3ccd8eb..bd65015 100644 --- a/ansible/roles/synapse/files/basedir/docker-compose.yaml +++ b/ansible/roles/synapse/files/basedir/docker-compose.yaml @@ -92,6 +92,6 @@ services: container_name: nginx redis: - image: "redis:latest" + image: redis:${REDIS_VERSION} restart: "unless-stopped" container_name: redis diff --git a/ansible/roles/synapse/templates/docker/.env.j2 b/ansible/roles/synapse/templates/docker/.env.j2 index 99fed2a..c0e7ca4 100644 --- a/ansible/roles/synapse/templates/docker/.env.j2 +++ b/ansible/roles/synapse/templates/docker/.env.j2 @@ -1,2 +1,3 @@ SYNAPSE_VERSION={{ synapse_version }} NGINX_VERSION={{ nginx_version }} +REDIS_VERSION={{ redis_version }}