Only one frontend
This commit is contained in:
parent
2d2e7bb5c6
commit
8d178815d6
2 changed files with 1 additions and 23 deletions
|
@ -3,18 +3,7 @@ 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 }
|
||||
port "https_port" { static = 443 }
|
||||
|
|
|
@ -3,18 +3,7 @@ job "frontend" {
|
|||
type = "service"
|
||||
priority = 90
|
||||
|
||||
update {
|
||||
max_parallel = 1
|
||||
stagger = "1m"
|
||||
}
|
||||
|
||||
group "tricot" {
|
||||
count = 3
|
||||
constraint {
|
||||
operator = "distinct_hosts"
|
||||
value = "true"
|
||||
}
|
||||
|
||||
network {
|
||||
port "http_port" { static = 80 }
|
||||
port "https_port" { static = 443 }
|
||||
|
@ -47,7 +36,7 @@ job "frontend" {
|
|||
data = <<EOH
|
||||
TRICOT_NODE_NAME={{ env "attr.unique.hostname" }}
|
||||
TRICOT_LETSENCRYPT_EMAIL=alex@adnab.me
|
||||
RUST_LOG=tricot=debug
|
||||
RUST_LOG=tricot=trace
|
||||
EOH
|
||||
destination = "secrets/env"
|
||||
env = true
|
||||
|
|
Reference in a new issue