Move redis data to ephemeral disk

This commit is contained in:
IamTheFij 2022-09-06 11:31:15 -07:00
parent 712fd3958d
commit ab1c9b41cd

View File

@ -52,7 +52,7 @@ job "redis" {
config {
image = "redis:6"
args = ["redis-server", "--save", "60", "1", "--loglevel", "warning"]
args = ["redis-server", "--save", "60", "1", "--loglevel", "warning", "--dir", "${NOMAD_ALLOC_DIR}/data"]
ports = ["main"]
}