From c2d3ec3c2ab124158e039fddfd22d35c704afd9f Mon Sep 17 00:00:00 2001 From: Mathias Magnusson Date: Sat, 11 May 2024 21:25:49 +0200 Subject: Replace nginx with traefik --- jobs/certificates.nomad.hcl | 99 --------------------------------------------- 1 file changed, 99 deletions(-) delete mode 100644 jobs/certificates.nomad.hcl (limited to 'jobs/certificates.nomad.hcl') diff --git a/jobs/certificates.nomad.hcl b/jobs/certificates.nomad.hcl deleted file mode 100644 index 8731227..0000000 --- a/jobs/certificates.nomad.hcl +++ /dev/null @@ -1,99 +0,0 @@ -job "certificates" { - type = "batch" - - periodic { - crons = ["@monthly"] - } - - group "lego" { - restart { - attempts = 1 - delay = "1h" - } - - volume "certs" { - type = "host" - source = "ca-certificates" - } - - network { - port "http" { - # static = 80 - } - } - - service { - name = "certificates" - port = "http" - provider = "nomad" - - tags = [ - "nginx.acme-challenge", - ] - } - - task "lego" { - driver = "exec" - - volume_mount { - volume = "certs" - destination = "/lego" - } - - config { - command = "certs.sh" - } - - template { - data = <