demo/digitalocean: add a demo job
This commit is contained in:
parent
1a4934f390
commit
56f7c271c9
|
@ -0,0 +1,20 @@
|
|||
job "bench" {
|
||||
datacenters = ["nyc3"]
|
||||
|
||||
group "cache" {
|
||||
count = 10000
|
||||
|
||||
task "hello-world" {
|
||||
driver = "docker"
|
||||
|
||||
config {
|
||||
image = "hello-world"
|
||||
}
|
||||
|
||||
resources {
|
||||
cpu = 100
|
||||
memory = 100
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue