diff options
author | Baptiste Jonglez <git@bitsofnetworks.org> | 2024-10-17 01:10:50 +0200 |
---|---|---|
committer | Baptiste Jonglez <git@bitsofnetworks.org> | 2024-10-25 09:58:53 +0200 |
commit | 87e3ef93e31ab22d7657ca838f72a4756f85554d (patch) | |
tree | fc0830bd9cee13e2f6a60dc1cebcc9bfd0cd763c /cluster/prod/app/email | |
parent | 99c031dfc4c3c5256e2dcafb5a962c4ec4fff336 (diff) | |
download | nixcfg-87e3ef93e31ab22d7657ca838f72a4756f85554d.tar.gz nixcfg-87e3ef93e31ab22d7657ca838f72a4756f85554d.zip |
email: ensure email and email-android7 run on different sites to avoid port conflicts
Diffstat (limited to 'cluster/prod/app/email')
-rw-r--r-- | cluster/prod/app/email/deploy/email-android7.hcl | 3 | ||||
-rw-r--r-- | cluster/prod/app/email/deploy/email.hcl | 1 |
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 |