add entrypoint for ssh
This commit is contained in:
parent
15d75f243a
commit
93a5265c55
@ -11,6 +11,9 @@ job "traefik-local" {
|
||||
port "https" {
|
||||
static = 443
|
||||
}
|
||||
port "ssh" {
|
||||
static = 2222
|
||||
}
|
||||
port "admin" {
|
||||
static = 9080
|
||||
}
|
||||
@ -43,7 +46,8 @@ job "traefik-local" {
|
||||
ports = [
|
||||
"http",
|
||||
"https",
|
||||
"admin"
|
||||
"admin",
|
||||
"ssh"
|
||||
]
|
||||
volumes =[
|
||||
"local/traefik.toml:/etc/traefik/traefik.toml",
|
||||
@ -72,6 +76,8 @@ job "traefik-local" {
|
||||
address = ":443"
|
||||
[entryPoints.traefik]
|
||||
address = ":9080"
|
||||
[entrypoints.ssh]
|
||||
address = ":2222"
|
||||
[http.middlewares]
|
||||
[http.middlewares.https-redirect.redirectscheme]
|
||||
scheme = "https"
|
||||
|
Loading…
Reference in New Issue
Block a user