From 93a5265c557017afa44a08463429fff8f42ccbf4 Mon Sep 17 00:00:00 2001 From: vincent Date: Wed, 27 Apr 2022 13:04:57 +0200 Subject: [PATCH] add entrypoint for ssh --- traefik-local.nomad | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/traefik-local.nomad b/traefik-local.nomad index 346f5b9..2c9660e 100644 --- a/traefik-local.nomad +++ b/traefik-local.nomad @@ -11,7 +11,10 @@ job "traefik-local" { port "https" { static = 443 } - port "admin" { + port "ssh" { + static = 2222 + } + port "admin" { static = 9080 } } @@ -43,7 +46,8 @@ job "traefik-local" { ports = [ "http", "https", - "admin" + "admin", + "ssh" ] volumes =[ "local/traefik.toml:/etc/traefik/traefik.toml", @@ -72,6 +76,8 @@ job "traefik-local" { address = ":443" [entryPoints.traefik] address = ":9080" + [entrypoints.ssh] + address = ":2222" [http.middlewares] [http.middlewares.https-redirect.redirectscheme] scheme = "https"