Add TCP proxy for NTRIP.
This commit is contained in:
@@ -12,6 +12,9 @@ job "traefik" {
|
|||||||
port "ssh" {
|
port "ssh" {
|
||||||
static = "2222"
|
static = "2222"
|
||||||
}
|
}
|
||||||
|
port "ntrip" {
|
||||||
|
static = "2101"
|
||||||
|
}
|
||||||
port "admin" {
|
port "admin" {
|
||||||
#host_network = "tailscale"
|
#host_network = "tailscale"
|
||||||
static = "9002"
|
static = "9002"
|
||||||
@@ -55,7 +58,7 @@ job "traefik" {
|
|||||||
|
|
||||||
config {
|
config {
|
||||||
image = "traefik:latest"
|
image = "traefik:latest"
|
||||||
ports = ["http", "https", "admin", "http4proxy"]
|
ports = ["http", "https", "admin", "http4proxy", "ssh", "ntrip"]
|
||||||
network_mode = "host"
|
network_mode = "host"
|
||||||
volumes = [
|
volumes = [
|
||||||
"local/traefik.yml:/etc/traefik/traefik.yml",
|
"local/traefik.yml:/etc/traefik/traefik.yml",
|
||||||
@@ -131,6 +134,9 @@ entryPoints:
|
|||||||
|
|
||||||
ssh:
|
ssh:
|
||||||
address: ":{{{ env "NOMAD_PORT_ssh" }}}"
|
address: ":{{{ env "NOMAD_PORT_ssh" }}}"
|
||||||
|
|
||||||
|
ntrip:
|
||||||
|
address: ":{{{ env "NOMAD_PORT_ntrip" }}}"
|
||||||
EOH
|
EOH
|
||||||
destination = "local/traefik.yml"
|
destination = "local/traefik.yml"
|
||||||
change_mode = "noop"
|
change_mode = "noop"
|
||||||
|
|||||||
Reference in New Issue
Block a user