From 4a20adf26ac7b69524f4e0d699fa2356f8e6ce58 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Thu, 28 Dec 2023 19:44:28 +0100 Subject: [PATCH] Activated redis --- roles/docker-gitlab/templates/docker-compose.yml.j2 | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/roles/docker-gitlab/templates/docker-compose.yml.j2 b/roles/docker-gitlab/templates/docker-compose.yml.j2 index 8957484b..c32dbfe5 100644 --- a/roles/docker-gitlab/templates/docker-compose.yml.j2 +++ b/roles/docker-gitlab/templates/docker-compose.yml.j2 @@ -21,9 +21,9 @@ services: gitlab_rails['initial_root_password'] = "{{gitlab_initial_root_password}}" - #redis['enable'] = false - #gitlab_rails['redis_host'] = 'redis' - #gitlab_rails['redis_port'] = '6379' + redis['enable'] = false + gitlab_rails['redis_host'] = 'redis' + gitlab_rails['redis_port'] = '6379' ports: - "127.0.0.1:{{http_port}}:80" - "{{ssh_port}}:22" @@ -35,12 +35,15 @@ services: depends_on: database: condition: service_healthy + redis: {% include 'templates/docker-postgres-service.yml.j2' %} +{% include 'templates/docker-redis-service.yml.j2' %} + volumes: database: config: logs: data: - # redis: \ No newline at end of file + redis: \ No newline at end of file