forked from Deuxfleurs/infrastructure
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"
|
||||
priority = 80
|
||||
|
||||
update {
|
||||
max_parallel = 1
|
||||
stagger = "1m"
|
||||
}
|
||||
|
||||
group "traefik" {
|
||||
count = 3
|
||||
constraint {
|
||||
operator = "distinct_hosts"
|
||||
value = "true"
|
||||
}
|
||||
|
||||
network {
|
||||
port "http_port" { static = 80 }
|
||||
|
|
Loading…
Reference in a new issue