email: ensure email and email-android7 run on different sites to avoid port conflicts

This commit is contained in:
Baptiste Jonglez 2024-10-17 01:10:50 +02:00
parent d2584fbf1d
commit 0c7e85f117
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,6 @@
job "email-android7" { job "email-android7" {
datacenters = ["neptune", "bespin"] # Should not run on the same site as email.hcl (port conflict in diplonat)
datacenters = ["scorpio", "bespin"]
type = "service" type = "service"
priority = 100 priority = 100

View file

@ -1,4 +1,5 @@
job "email" { job "email" {
# Should not run on the same site as email-android7.hcl (port conflict in diplonat)
datacenters = ["neptune"] datacenters = ["neptune"]
type = "service" type = "service"
priority = 65 priority = 65