From 45512b6b8b104b7296f7f58764d8bf9cdf331731 Mon Sep 17 00:00:00 2001 From: niten Date: Tue, 16 Jan 2024 19:10:16 -0800 Subject: [PATCH] Manually specify hostname? --- mastodon-container.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/mastodon-container.nix b/mastodon-container.nix index d39d287..0cd2eec 100644 --- a/mastodon-container.nix +++ b/mastodon-container.nix @@ -310,6 +310,7 @@ in { }; redis.service = { image = cfg.images.redis; + hostname = "redis"; restart = "always"; volumes = [ "${cfg.state-directory}/redis:/data" ]; healthcheck.test = [ "CMD" "redis-cli" "ping" ];