mirror of
https://github.com/natelandau/ansible-homelab-config.git
synced 2025-11-18 09:53:41 -05:00
feat: depreciate consul and use nomad service discovery
This commit is contained in:
@@ -78,6 +78,7 @@ job "diagnostics" {
|
||||
service {
|
||||
port = "whoami"
|
||||
name = "${NOMAD_JOB_NAME}"
|
||||
provider = "nomad"
|
||||
tags = [
|
||||
"traefik.enable=true",
|
||||
"traefik.http.routers.${NOMAD_JOB_NAME}.rule=Host(`${NOMAD_JOB_NAME}.{{ homelab_domain_name }}`)",
|
||||
@@ -95,7 +96,6 @@ job "diagnostics" {
|
||||
check_restart {
|
||||
limit = 2
|
||||
grace = "1m"
|
||||
ignore_warnings = true
|
||||
}
|
||||
}
|
||||
resources {
|
||||
|
||||
Reference in New Issue
Block a user