Skip to content

Instantly share code, notes, and snippets.

@nadirollo
Created November 24, 2016 17:02
Show Gist options
  • Save nadirollo/42f80c0e3efb094db035ada28463e1bf to your computer and use it in GitHub Desktop.
Save nadirollo/42f80c0e3efb094db035ada28463e1bf to your computer and use it in GitHub Desktop.
job "env-fetcher" {
datacenters = ["dc1"]
region = "europe"
group "demo-app" {
ephemeral_disk {
migrate = true
size = "500"
sticky = true
}
task "server" {
driver = "docker"
config = {
image = "nadirollo/env-fetcher"
args = ["-service-name", "app1"]
}
resources {
memory = 128
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment