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