nomad

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

commit 35ee9833d60a9df603157cdb6172d312d0bd678a
parent f91dd9beec8ca6e48130d34f0c5e7b669c8a8bec
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date:   Sun, 21 Jul 2024 17:21:04 +0200

feat: add static ports

Diffstat:
Mhcl/default/0x0/0x0.nomad | 8++++++--
Mhcl/default/aload/aload.nomad | 1+
Mhcl/default/ampache/ampache.nomad | 1+
Mhcl/default/bastard-operator/bastard-operator.nomad | 4+++-
Mhcl/default/cv/cv.nomad | 4+++-
Mhcl/default/diary/diary.nomad | 4+++-
Mhcl/default/freshrss/freshrss.nomad | 4+++-
Mhcl/default/git/git.nomad | 2++
Mhcl/default/hivedav-demo/hivedav-demo.nomad | 5++++-
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+++-
18 files changed, 53 insertions(+), 16 deletions(-)

diff --git a/hcl/default/0x0/0x0.nomad b/hcl/default/0x0/0x0.nomad @@ -22,8 +22,12 @@ job "0x0" { port "fhost" { to = 8000 } - port "http" {} - port "https" {} + port "http" { + static = 8998 + } + port "https" { + static = 8999 + } } service { diff --git a/hcl/default/aload/aload.nomad b/hcl/default/aload/aload.nomad @@ -14,6 +14,7 @@ job "aload" { network { port "http" { to = 80 + static = 8092 } } diff --git a/hcl/default/ampache/ampache.nomad b/hcl/default/ampache/ampache.nomad @@ -28,6 +28,7 @@ job "ampache" { } port "https" { to = 443 + static = 44391 } } diff --git a/hcl/default/bastard-operator/bastard-operator.nomad b/hcl/default/bastard-operator/bastard-operator.nomad @@ -15,7 +15,9 @@ job "bastard" { port "http" { to = 8080 } - port "https" {} + port "https" { + static = 44404 + } } service { diff --git a/hcl/default/cv/cv.nomad b/hcl/default/cv/cv.nomad @@ -15,7 +15,9 @@ job "cv" { port "jekyll" { to = 4000 } - port "https" {} + port "https" { + static = 44361 + } } service { diff --git a/hcl/default/diary/diary.nomad b/hcl/default/diary/diary.nomad @@ -17,7 +17,9 @@ job "diary" { port "jekyll" { to = 4000 } - port "https" {} + port "https" { + static = 44362 + } } service { diff --git a/hcl/default/freshrss/freshrss.nomad b/hcl/default/freshrss/freshrss.nomad @@ -27,7 +27,9 @@ job "freshrss" { port "server" { to = 80 } - port "https" {} + port "https" { + static = 44403 + } } service { diff --git a/hcl/default/git/git.nomad b/hcl/default/git/git.nomad @@ -28,9 +28,11 @@ job "git" { network { port "stagit" { to = 443 + static = 44328 } port "smarthttp" { to = 443 + static = 44318 } } diff --git a/hcl/default/hivedav-demo/hivedav-demo.nomad b/hcl/default/hivedav-demo/hivedav-demo.nomad @@ -19,9 +19,12 @@ job "hivedav-demo" { } network { - port "https" {} + port "https" { + static = 44399 + } port "hivedav" { to = 3737 + static = 44398 } } diff --git a/hcl/default/hivedav/hivedav.nomad b/hcl/default/hivedav/hivedav.nomad @@ -17,7 +17,9 @@ job "hivedav" { port "jekyll" { to = 4000 } - port "https" {} + port "https" { + static = 44397 + } } service { diff --git a/hcl/default/jenkins/jenkins.nomad b/hcl/default/jenkins/jenkins.nomad @@ -29,7 +29,9 @@ job "jenkins" { port "jnlp" { to = 50000 } - port "https" {} + port "https" { + static = 44401 + } } service { diff --git a/hcl/default/kanboard/kanboard.nomad b/hcl/default/kanboard/kanboard.nomad @@ -31,7 +31,9 @@ job "kanboard" { port "kanboard" { to = 80 } - port "https" {} + port "https" { + static = 44400 + } } service { diff --git a/hcl/default/mastodon/mastodon.nomad b/hcl/default/mastodon/mastodon.nomad @@ -28,7 +28,9 @@ job "mastodon" { port "redis" { to = 6379 } - port "https" {} + port "https" { + static = 44393 + } port "mastodon_web" {} port "mastodon_streaming" { to = 4000 diff --git a/hcl/default/myheats-demo/myheats-demo.nomad b/hcl/default/myheats-demo/myheats-demo.nomad @@ -25,7 +25,9 @@ job "myheats-demo" { } network { - port "https" {} + port "https" { + static = 44396 + } } service { diff --git a/hcl/default/myheats/myheats.nomad b/hcl/default/myheats/myheats.nomad @@ -17,7 +17,9 @@ job "myheats" { port "jekyll" { to = 4000 } - port "https" {} + port "https" { + static = 44395 + } } service { diff --git a/hcl/default/p0c/p0c.nomad b/hcl/default/p0c/p0c.nomad @@ -17,7 +17,9 @@ job "p0c" { port "jekyll" { to = 4000 } - port "https" {} + port "https" { + static = 44402 + } } service { diff --git a/hcl/default/snibox/snibox.nomad b/hcl/default/snibox/snibox.nomad @@ -26,7 +26,9 @@ job "snibox" { port "server" { to = 3000 } - port "https" {} + port "https" { + static = 44392 + } } service { diff --git a/hcl/default/writefreely/writefreely.nomad b/hcl/default/writefreely/writefreely.nomad @@ -24,7 +24,9 @@ job "writefreely" { network { port "web" {} - port "https" {} + port "https" { + static = 44394 + } } service {