Redis data path was wrong

This commit is contained in:
niten 2023-08-29 10:24:13 -07:00
parent 383f721f2a
commit d7a081aafe
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ in {
image = cfg.images.redis;
restart = "always";
command = "--save 60 1 --loglevel warning";
volumes = [ "${cfg.state-directory}:/data" ];
volumes = [ "${cfg.state-directory}/redis:/data" ];
healthcheck = {
test = [ "CMD" "redis-cli" "ping" ];
start_period = "20s";