Created
June 28, 2019 22:09
-
-
Save dradtke/f44ef9f49eede472c463b50bbbb7aae7 to your computer and use it in GitHub Desktop.
Certificate renewer addition to damienradtkecom.nomad
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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