Move redis data to ephemeral disk

This commit is contained in:
IamTheFij 2022-09-06 11:31:15 -07:00
parent 0e5181fcf0
commit a57b1ddee5

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