2021-03-04 07:45:46 -08:00

21 lines
315 B
HCL

job "redis" {
datacenters = ["dc1"]
group "redis-group" {
task "redis-task" {
driver = "containerd-driver"
config {
image = "redis:alpine"
seccomp = true
cwd = "/home/redis"
}
resources {
cpu = 500
memory = 256
}
}
}
}