Traefik on all servers

This commit is contained in:
Alex 2021-12-08 13:32:47 +01:00
parent a4982c6cd6
commit 3693d9f36b
No known key found for this signature in database
GPG key ID: EDABF9711E244EB1

View file

@ -3,7 +3,17 @@ job "frontend" {
type = "service" type = "service"
priority = 80 priority = 80
update {
max_parallel = 1
stagger = "1m"
}
group "traefik" { group "traefik" {
count = 3
constraint {
operator = "distinct_hosts"
value = "true"
}
network { network {
port "http_port" { static = 80 } port "http_port" { static = 80 }