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" ];