nomad

HCL and Docker files for Nomad deployments
git clone https://git.in0rdr.ch/nomad.git
Log | Files | Refs | Pull requests

commit 353431f16dc7fecbfa4a555b182e7dac7167ee07
parent 5b19e08a022ff76750d7e281dca324e120bdbcfc
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date:   Sun, 21 Jul 2024 18:17:20 +0200

feat(consul): remove services

Diffstat:
Mhcl/default/0x0/0x0.nomad | 9---------
Mhcl/default/aload/aload.nomad | 4----
Mhcl/default/ampache/ampache.nomad | 4----
Mhcl/default/bastard-operator/bastard-operator.nomad | 4----
Mhcl/default/certbot/certbot.nomad | 9---------
Mhcl/default/cv/cv.nomad | 4----
Mhcl/default/diary/diary.nomad | 4----
Mhcl/default/freshrss/freshrss.nomad | 4----
Mhcl/default/git/git.nomad | 9---------
Mhcl/default/hivedav-demo/hivedav-demo.nomad | 21---------------------
Mhcl/default/hivedav/hivedav.nomad | 4----
Mhcl/default/jenkins/jenkins.nomad | 4----
Mhcl/default/kanboard/kanboard.nomad | 4----
Mhcl/default/mastodon/mastodon.nomad | 4----
Mhcl/default/myheats-demo/myheats-demo.nomad | 4----
Mhcl/default/myheats/myheats.nomad | 4----
Mhcl/default/p0c/p0c.nomad | 4----
Mhcl/default/snibox/snibox.nomad | 4----
Mhcl/default/writefreely/writefreely.nomad | 4----
Mhcl/infra/registry/simple-registry.nomad | 4----
20 files changed, 0 insertions(+), 112 deletions(-)

diff --git a/hcl/default/0x0/0x0.nomad b/hcl/default/0x0/0x0.nomad @@ -30,15 +30,6 @@ job "0x0" { } } - service { - port = "http" - tags = ["http"] - } - service { - port = "https" - tags = ["https"] - } - # Prepare database migrations task "db-upgrade" { driver = "podman" diff --git a/hcl/default/aload/aload.nomad b/hcl/default/aload/aload.nomad @@ -18,10 +18,6 @@ job "aload" { } } - service { - port = "http" - } - task "aload" { driver = "podman" diff --git a/hcl/default/ampache/ampache.nomad b/hcl/default/ampache/ampache.nomad @@ -32,10 +32,6 @@ job "ampache" { } } - service { - port = "https" - } - task "nginx" { driver = "podman" diff --git a/hcl/default/bastard-operator/bastard-operator.nomad b/hcl/default/bastard-operator/bastard-operator.nomad @@ -20,10 +20,6 @@ job "bastard" { } } - service { - port = "https" - } - task "nginx" { driver = "podman" diff --git a/hcl/default/certbot/certbot.nomad b/hcl/default/certbot/certbot.nomad @@ -34,15 +34,6 @@ job "certbot" { } } - service { - port = "http" - tags = ["http"] - } - service { - port = "https" - tags = ["https"] - } - task "request" { driver = "podman" diff --git a/hcl/default/cv/cv.nomad b/hcl/default/cv/cv.nomad @@ -20,10 +20,6 @@ job "cv" { } } - service { - port = "https" - } - task "jekyll" { driver = "podman" diff --git a/hcl/default/diary/diary.nomad b/hcl/default/diary/diary.nomad @@ -22,10 +22,6 @@ job "diary" { } } - service { - port = "https" - } - task "jekyll" { driver = "podman" diff --git a/hcl/default/freshrss/freshrss.nomad b/hcl/default/freshrss/freshrss.nomad @@ -32,10 +32,6 @@ job "freshrss" { } } - service { - port = "https" - } - task "nginx" { driver = "podman" diff --git a/hcl/default/git/git.nomad b/hcl/default/git/git.nomad @@ -36,15 +36,6 @@ job "git" { } } - service { - port = "stagit" - tags = ["stagit"] - } - service { - port = "smarthttp" - tags = ["smarthttp"] - } - task "smarthttp" { driver = "podman" diff --git a/hcl/default/hivedav-demo/hivedav-demo.nomad b/hcl/default/hivedav-demo/hivedav-demo.nomad @@ -28,27 +28,6 @@ job "hivedav-demo" { } } - service { - port = "hivedav" - tags = ["http"] - check { - type = "http" - interval = "10s" - timeout = "5s" - path = "/healthz" - } - } - service { - port = "https" - tags = ["https"] - check { - type = "tcp" - interval = "10s" - timeout = "5s" - path = "/healthz" - } - } - task "nginx" { driver = "podman" diff --git a/hcl/default/hivedav/hivedav.nomad b/hcl/default/hivedav/hivedav.nomad @@ -22,10 +22,6 @@ job "hivedav" { } } - service { - port = "https" - } - task "jekyll" { driver = "podman" diff --git a/hcl/default/jenkins/jenkins.nomad b/hcl/default/jenkins/jenkins.nomad @@ -34,10 +34,6 @@ job "jenkins" { } } - service { - port = "https" - } - # Install jenkins plugins # https://www.jenkins.io/doc/book/installing/docker task "install-jenkins-plugins" { diff --git a/hcl/default/kanboard/kanboard.nomad b/hcl/default/kanboard/kanboard.nomad @@ -36,10 +36,6 @@ job "kanboard" { } } - service { - port = "https" - } - task "kanboard" { driver = "podman" diff --git a/hcl/default/mastodon/mastodon.nomad b/hcl/default/mastodon/mastodon.nomad @@ -37,10 +37,6 @@ job "mastodon" { } } - service { - port = "https" - } - # Prepare database migrations task "db-upgrade" { driver = "podman" diff --git a/hcl/default/myheats-demo/myheats-demo.nomad b/hcl/default/myheats-demo/myheats-demo.nomad @@ -30,10 +30,6 @@ job "myheats-demo" { } } - service { - port = "https" - } - task "nginx" { driver = "podman" diff --git a/hcl/default/myheats/myheats.nomad b/hcl/default/myheats/myheats.nomad @@ -22,10 +22,6 @@ job "myheats" { } } - service { - port = "https" - } - task "jekyll" { driver = "podman" diff --git a/hcl/default/p0c/p0c.nomad b/hcl/default/p0c/p0c.nomad @@ -22,10 +22,6 @@ job "p0c" { } } - service { - port = "https" - } - task "jekyll" { driver = "podman" diff --git a/hcl/default/snibox/snibox.nomad b/hcl/default/snibox/snibox.nomad @@ -31,10 +31,6 @@ job "snibox" { } } - service { - port = "https" - } - task "nginx" { driver = "podman" diff --git a/hcl/default/writefreely/writefreely.nomad b/hcl/default/writefreely/writefreely.nomad @@ -29,10 +29,6 @@ job "writefreely" { } } - service { - port = "https" - } - # Prepare database schema # https://github.com/writefreely/writefreely/blob/develop/docker-setup.sh task "db-upgrade" { diff --git a/hcl/infra/registry/simple-registry.nomad b/hcl/infra/registry/simple-registry.nomad @@ -13,10 +13,6 @@ job "simple-registry" { attachment_mode = "file-system" } - service { - port = "internal-registry" - } - network { port "http" { to = 5000