aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Jonglez <git@bitsofnetworks.org>2024-10-17 01:10:50 +0200
committerBaptiste Jonglez <git@bitsofnetworks.org>2024-10-17 01:10:50 +0200
commit0c7e85f11750568c751553399a65fac8aa2b8b39 (patch)
tree281f9acfd991f5dadac2d7f3db5f926bebcb73e8
parentd2584fbf1d0e1d84447e1724b0bc198e69188192 (diff)
downloadnixcfg-0c7e85f11750568c751553399a65fac8aa2b8b39.tar.gz
nixcfg-0c7e85f11750568c751553399a65fac8aa2b8b39.zip
email: ensure email and email-android7 run on different sites to avoid port conflictsfix_ports_conflicts
-rw-r--r--cluster/prod/app/email/deploy/email-android7.hcl3
-rw-r--r--cluster/prod/app/email/deploy/email.hcl1
2 files changed, 3 insertions, 1 deletions
diff --git a/cluster/prod/app/email/deploy/email-android7.hcl b/cluster/prod/app/email/deploy/email-android7.hcl
index f2f92c6..ad44f2c 100644
--- a/cluster/prod/app/email/deploy/email-android7.hcl
+++ b/cluster/prod/app/email/deploy/email-android7.hcl
@@ -1,5 +1,6 @@
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"
priority = 100
diff --git a/cluster/prod/app/email/deploy/email.hcl b/cluster/prod/app/email/deploy/email.hcl
index 3c6d7b4..10e4d50 100644
--- a/cluster/prod/app/email/deploy/email.hcl
+++ b/cluster/prod/app/email/deploy/email.hcl
@@ -1,4 +1,5 @@
job "email" {
+ # Should not run on the same site as email-android7.hcl (port conflict in diplonat)
datacenters = ["neptune"]
type = "service"
priority = 65