Manually specify hostname?

This commit is contained in:
niten 2024-01-16 19:10:16 -08:00
parent cbec5fe9e4
commit 45512b6b8b
1 changed files with 1 additions and 0 deletions

View File

@ -310,6 +310,7 @@ in {
}; };
redis.service = { redis.service = {
image = cfg.images.redis; image = cfg.images.redis;
hostname = "redis";
restart = "always"; restart = "always";
volumes = [ "${cfg.state-directory}/redis:/data" ]; volumes = [ "${cfg.state-directory}/redis:/data" ];
healthcheck.test = [ "CMD" "redis-cli" "ping" ]; healthcheck.test = [ "CMD" "redis-cli" "ping" ];