fix ssh issue traefick
This commit is contained in:
parent
20721ff87e
commit
685f8b60db
@ -20,6 +20,10 @@ job "traefik-ingress" {
|
|||||||
static = 9080
|
static = 9080
|
||||||
host_network = "private"
|
host_network = "private"
|
||||||
}
|
}
|
||||||
|
port "ssh" {
|
||||||
|
static = 2222
|
||||||
|
host_network = "public"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
vault{
|
vault{
|
||||||
policies=["access-tables"]
|
policies=["access-tables"]
|
||||||
@ -54,7 +58,8 @@ job "traefik-ingress" {
|
|||||||
ports = [
|
ports = [
|
||||||
"http",
|
"http",
|
||||||
"https",
|
"https",
|
||||||
"admin"
|
"admin",
|
||||||
|
"ssh"
|
||||||
]
|
]
|
||||||
volumes =[
|
volumes =[
|
||||||
"local/traefik.toml:/etc/traefik/traefik.toml",
|
"local/traefik.toml:/etc/traefik/traefik.toml",
|
||||||
|
Loading…
Reference in New Issue
Block a user