-
Notifications
You must be signed in to change notification settings - Fork 0
Basic Example
Felix edited this page Jun 5, 2021
·
2 revisions
job "example" {
datacenters = ["dc1"]
type = "service"
group "database" {
count = 1
task "database" {
driver = "docker"
config {
image = "hello-world:linux"
}
}
}
group "web" {
count = 2
task "web" {
driver = "docker"
config {
image = "hello-world:linux"
}
}
}
}
group "database" {
weight = 25
}
$ roamer deploy --config example-deployment.hcl example.nomad