Manually specify hostname?
This commit is contained in:
parent
cbec5fe9e4
commit
45512b6b8b
|
@ -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" ];
|
||||
|
|
Loading…
Reference in New Issue