Skip to content

Instantly share code, notes, and snippets.

@dradtke
Created June 28, 2019 22:09
Show Gist options
  • Save dradtke/f44ef9f49eede472c463b50bbbb7aae7 to your computer and use it in GitHub Desktop.
Save dradtke/f44ef9f49eede472c463b50bbbb7aae7 to your computer and use it in GitHub Desktop.
Certificate renewer addition to damienradtkecom.nomad
group "certrenewer" {
count = 1
task "certrenewer" {
driver = "raw_exec"
config {
command = "cert-renewer"
}
service {
name = "${JOB}-${TASK}"
port = "http"
}
resources {
network {
port "http" {}
}
}
artifact {
source = "s3::http://192.168.212.213:9000/artifacts/cert-renewer"
options {
aws_access_key_id = "..."
aws_access_key_secret = "..."
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment