open-nomad/command/asset/example-short.nomad.hcl

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
411 B
HCL
Raw Normal View History

job "example" {
group "cache" {
network {
port "db" {
to = 6379
}
}
task "redis" {
driver = "docker"
config {
image = "redis:7"
ports = ["db"]
auth_soft_fail = true
}
identity {
env = true
file = true
}
resources {
cpu = 500
memory = 256
}
}
}
}