Add TCP proxy for NTRIP.

This commit is contained in:
2024-09-27 21:07:38 +01:00
parent 28182852fc
commit d717104a8b

View File

@@ -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"