fix ssh issue traefick

This commit is contained in:
vincent 2022-09-09 18:53:54 +02:00
parent 94045dc3ff
commit 267746a5d6

View File

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