From 8032ad4d207a6bbd30691dc738f18478a3872b5a Mon Sep 17 00:00:00 2001 From: Petru Paler Date: Wed, 22 Oct 2025 14:11:37 +0100 Subject: [PATCH] Move redis to zippy. --- services/redis.hcl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/services/redis.hcl b/services/redis.hcl index c339ffd..d8294bb 100644 --- a/services/redis.hcl +++ b/services/redis.hcl @@ -6,6 +6,12 @@ job "redis" { } group "db" { + # Run on primary storage node (zippy) for local disk performance + constraint { + attribute = "${meta.storage_role}" + value = "primary" + } + network { port "redis" { static = 6379 @@ -21,7 +27,7 @@ job "redis" { config { image = "redis:alpine" ports = ["redis"] - volumes = [ "/data/compute/appdata/redis:/data" ] + volumes = [ "/data/services/redis:/data" ] } service {