job "APP-example" {
region = "global"
datacenters = ["blr1"]
type = "service"
group "App-test" {
count = 1
restart {
attempts = 10
interval = "5m"
delay = "25s"
mode = "delay"
}
ephemeral_disk {
size = 300
}
task "curie-jar" {
driver = "java"
config {
jar_path = "appserver-0.0.1.jar"
jvm_options = ["-Xmx2048m", "-Xms256m"]
}
artifact {
source = "/java/appserver/appserver-0.0.1.jar"
#destination = "java/appserver-0.0.1.jar"
}
resources {
network {
mbits = 200
port "http" {
static = "8080"
}
}
}
}
}
}
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/nomad/issues
IRC: #nomad-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Nomad" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nomad-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nomad-tool/f49dfac9-276f-4f76-b59c-63a290d4cb36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.