Skip to content

Commit

Permalink
change instrumented webserver job file (#4897)
Browse files Browse the repository at this point in the history
  • Loading branch information
Omar-Khawaja authored Nov 17, 2018
1 parent dce594b commit c5a222b
Showing 1 changed file with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -476,17 +476,11 @@ Create a job for our web server and name it `webserver.nomad`
job "webserver" {
datacenters = ["dc1"]
group "echo" {
group "webserver" {
task "server" {
driver = "exec"
driver = "docker"
config {
command = "/local/demo"
}
artifact {
source = "https://s3-us-west-2.amazonaws.com/hashicorp-education/demo-binaries/prometheus-instrumentation"
destination = "local/demo"
mode = "file"
image = "hashicorp/demo-prometheus-instrumentation:latest"
}
resources {
Expand Down

0 comments on commit c5a222b

Please sign in to comment.