Traefik on all servers
This commit is contained in:
parent
a4982c6cd6
commit
3693d9f36b
1 changed files with 10 additions and 0 deletions
|
@ -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 }
|
||||||
|
|
Reference in a new issue