Move redis data to ephemeral disk

This commit is contained in:
IamTheFij 2022-09-06 11:31:15 -07:00
parent 0e5181fcf0
commit a57b1ddee5
1 changed files with 1 additions and 1 deletions

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