chore(jmc): onboard to traefiks connect-enabled provider
This commit is contained in:
parent
0b3293d65e
commit
62f75ec67c
1 changed files with 2 additions and 29 deletions
|
@ -50,41 +50,14 @@ job "jayne-martin-counselling" {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group "webserver-ingress-group" {
|
||||
|
||||
network {
|
||||
mode = "bridge"
|
||||
port "inbound" {
|
||||
to = 8080
|
||||
}
|
||||
}
|
||||
|
||||
service {
|
||||
port = "inbound"
|
||||
tags = [
|
||||
"traefik.enable=true",
|
||||
|
||||
"traefik.http.routers.jmc.rule=Host(`www.jaynemartincounselling.co.uk`)",
|
||||
"traefik.http.routers.jmc.entrypoints=websecure"
|
||||
"traefik.http.routers.jmc.entrypoints=websecure",
|
||||
"traefik.consulcatalog.connect=true",
|
||||
]
|
||||
|
||||
connect {
|
||||
gateway {
|
||||
ingress {
|
||||
listener {
|
||||
port = 8080
|
||||
protocol = "http"
|
||||
service {
|
||||
name = "jayne-martin-counselling-webserver"
|
||||
hosts = ["*"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue