From 87e3ef93e31ab22d7657ca838f72a4756f85554d Mon Sep 17 00:00:00 2001 From: Baptiste Jonglez Date: Thu, 17 Oct 2024 01:10:50 +0200 Subject: email: ensure email and email-android7 run on different sites to avoid port conflicts --- cluster/prod/app/email/deploy/email-android7.hcl | 3 ++- cluster/prod/app/email/deploy/email.hcl | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3