Add TCP proxy for NTRIP.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user