From 043c86ea6fa669c6db53cf4a7f6caaa5b7cfddc8 Mon Sep 17 00:00:00 2001 From: Udo Waechter Date: Thu, 21 Mar 2024 20:58:18 +0100 Subject: [PATCH] spread for apt-cacher --- apps/apt-cacher-ng/live.hcl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/apt-cacher-ng/live.hcl b/apps/apt-cacher-ng/live.hcl index 43e12a2..0480222 100644 --- a/apps/apt-cacher-ng/live.hcl +++ b/apps/apt-cacher-ng/live.hcl @@ -9,7 +9,10 @@ job "apt-cacher-ng" { to = 3142 } } - + spread { + attribute = "${node.unique.id}" + weight = 100 + } service { name = "apt-cache" port = "http"