From d717104a8b08f0a420b97734e9de3efafa50bf0b Mon Sep 17 00:00:00 2001 From: Petru Paler Date: Fri, 27 Sep 2024 21:07:38 +0100 Subject: [PATCH] Add TCP proxy for NTRIP. --- services/traefik.hcl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/services/traefik.hcl b/services/traefik.hcl index efa3bfd..73758f2 100644 --- a/services/traefik.hcl +++ b/services/traefik.hcl @@ -12,6 +12,9 @@ job "traefik" { port "ssh" { static = "2222" } + port "ntrip" { + static = "2101" + } port "admin" { #host_network = "tailscale" static = "9002" @@ -55,7 +58,7 @@ job "traefik" { config { image = "traefik:latest" - ports = ["http", "https", "admin", "http4proxy"] + ports = ["http", "https", "admin", "http4proxy", "ssh", "ntrip"] network_mode = "host" volumes = [ "local/traefik.yml:/etc/traefik/traefik.yml", @@ -131,6 +134,9 @@ entryPoints: ssh: address: ":{{{ env "NOMAD_PORT_ssh" }}}" + + ntrip: + address: ":{{{ env "NOMAD_PORT_ntrip" }}}" EOH destination = "local/traefik.yml" change_mode = "noop"