2021-01-07 09:57:07 -08:00

21 lines
333 B
HCL

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